Skip to content

Node.js based forum software built for the modern web

refactor: make debug handler async

Barış Soner Uşaklı1db8920b18ec
diff --git a/src/routes/debug.js b/src/routes/debug.js
index fad5e60625..b4ad76721f 100644
--- a/src/routes/debug.js
+++ b/src/routes/debug.js
@@ -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);
});