mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36: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) {
|
||||
const router = express.Router();
|
||||
|
||||
router.get('/test', (req, res) => {
|
||||
router.get('/test', async (req, res) => {
|
||||
res.redirect(404);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user