diff --git a/src/node/hooks/express/tests.js b/src/node/hooks/express/tests.js index 66fa14247..ebc6d7f82 100644 --- a/src/node/hooks/express/tests.js +++ b/src/node/hooks/express/tests.js @@ -13,4 +13,8 @@ exports.expressCreateServer = function (hook_name, args, cb) { res.sendfile(filePath); }); + + args.app.get('/tests/frontend', function (req, res) { + res.redirect('/tests/frontend/'); + }); } \ No newline at end of file