refactor: make debug handler async

v1.18.x
Barış Soner Uşaklı 4 years ago
parent 8b79c7f139
commit 1db8920b18

@ -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);
}); });

Loading…
Cancel
Save