Routes entry point
parent
8201236c7d
commit
af843d5bf7
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue