mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
refactor: make debug handler async
This commit is contained in:
@@ -9,7 +9,7 @@ const path = require('path');
|
|||||||
module.exports = function (app) {
|
module.exports = function (app) {
|
||||||
const router = express.Router();
|
const router = express.Router();
|
||||||
|
|
||||||
router.get('/test', (req, res) => {
|
router.get('/test', async (req, res) => {
|
||||||
res.redirect(404);
|
res.redirect(404);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user