diff options
Diffstat (limited to 'services')
-rw-r--r-- | services/index.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/index.ts b/services/index.ts index f8ec3a5..5ad6579 100644 --- a/services/index.ts +++ b/services/index.ts @@ -22,6 +22,8 @@ export default (app: Application): void => { app.configure(Feedback); app.configure(Files); + app.get('/ping', (req, res) => res.send('pong')); + app.hooks({ before: { all: [tryAuthenticate, logging] |