mirror of
https://github.com/mickael-kerjean/filestash
synced 2026-01-06 07:50:40 +01:00
other (ping): can ping the server to make sure everything is working
This commit is contained in:
parent
efc2c70b19
commit
58de01a16c
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ var app = require('./bootstrap'),
|
|||
sessionRouter = require('./ctrl/session');
|
||||
|
||||
|
||||
app.get('/api/ping', function(req, res){ res.send('pong')})
|
||||
app.get('/ping', function(req, res){ res.send('pong')})
|
||||
app.use('/api/files', filesRouter)
|
||||
app.use('/api/session', sessionRouter);
|
||||
app.use('/', express.static(__dirname + '/public/'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue