summaryrefslogtreecommitdiff
path: root/src/node/hooks/express/specialpages.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/hooks/express/specialpages.js')
-rw-r--r--src/node/hooks/express/specialpages.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/node/hooks/express/specialpages.js b/src/node/hooks/express/specialpages.js
index e8d7795a..2840f82c 100644
--- a/src/node/hooks/express/specialpages.js
+++ b/src/node/hooks/express/specialpages.js
@@ -16,6 +16,13 @@ exports.expressCreateServer = function (hook_name, args, cb) {
res.send(eejs.require("ep_etherpad-lite/templates/index.html"));
});
+ //serve javascript.html
+ args.app.get('/javascript', function(req, res)
+ {
+ res.send(eejs.require("ep_etherpad-lite/templates/javascript.html"));
+ });
+
+
//serve robots.txt
args.app.get('/robots.txt', function(req, res)
{