summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter 'Pita' Martischka <petermartischka@googlemail.com>2012-10-27 16:41:17 +0100
committerPeter 'Pita' Martischka <petermartischka@googlemail.com>2012-10-27 16:41:17 +0100
commitcc7ddddd2f130d1ab3487c0b1713897cb339dc5d (patch)
treeaa733fe34974422f013814d2ffcafc13c64260cd /src
parent06bebf257e2632f0eaa4c0a44521cc9576c56a2f (diff)
downloadetherpad-lite-cc7ddddd2f130d1ab3487c0b1713897cb339dc5d.zip
redirect from frontend to frontend/
Diffstat (limited to 'src')
-rw-r--r--src/node/hooks/express/tests.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/node/hooks/express/tests.js b/src/node/hooks/express/tests.js
index 66fa1424..ebc6d7f8 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