chore: lint
This commit is contained in:
@@ -41,12 +41,12 @@ app.use('/auth', auth);
|
|||||||
app.use('/integration', integration);
|
app.use('/integration', integration);
|
||||||
|
|
||||||
app.get('/', function (req, res) {
|
app.get('/', function (req, res) {
|
||||||
return res.send('Maxun server started 🚀');
|
return res.send('Maxun server started 🚀');
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get('/csrf-token', (req, res) => {
|
app.get('/csrf-token', (req, res) => {
|
||||||
res.json({ csrfToken: req.csrfToken() })
|
res.json({ csrfToken: req.csrfToken() })
|
||||||
})
|
})
|
||||||
|
|
||||||
server.listen(SERVER_PORT, async () => {
|
server.listen(SERVER_PORT, async () => {
|
||||||
await connectDB();
|
await connectDB();
|
||||||
|
|||||||
Reference in New Issue
Block a user