mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 14:27:05 +02:00
Merge pull request #5767 from Faianca/fix-ping-relative-path
Add relativePath to /ping and /sping
This commit is contained in:
@@ -133,8 +133,8 @@ function setupExpressApp(app, callback) {
|
||||
|
||||
app.use(compression());
|
||||
|
||||
app.get('/ping', ping);
|
||||
app.get('/sping', ping);
|
||||
app.get(relativePath + '/ping', ping);
|
||||
app.get(relativePath + '/sping', ping);
|
||||
|
||||
setupFavicon(app);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user