Routes entry point

pull/1/head
sundowndev 2018-11-15 19:28:33 +01:00
parent 8201236c7d
commit af843d5bf7
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ routes.use((req, res, next) => {
}); });
routes.get('/', (req, res) => { routes.get('/', (req, res) => {
res.status(200).json({ message: 'Hello world!' }); res.status(200).json({ success: true, message: 'Hello world!' });
}); });
routes.use('/auth', auth); routes.use('/auth', auth);