diff options
author | Peter 'Pita' Martischka <petermartischka@googlemail.com> | 2012-10-27 16:41:17 +0100 |
---|---|---|
committer | Peter 'Pita' Martischka <petermartischka@googlemail.com> | 2012-10-27 16:41:17 +0100 |
commit | cc7ddddd2f130d1ab3487c0b1713897cb339dc5d (patch) | |
tree | aa733fe34974422f013814d2ffcafc13c64260cd /src | |
parent | 06bebf257e2632f0eaa4c0a44521cc9576c56a2f (diff) | |
download | etherpad-lite-cc7ddddd2f130d1ab3487c0b1713897cb339dc5d.zip |
redirect from frontend to frontend/
Diffstat (limited to 'src')
-rw-r--r-- | src/node/hooks/express/tests.js | 4 |
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 |