mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
Added LibreJS support
This commit is contained in:
parent
32eb6a2288
commit
97fd1ab2fe
10 changed files with 111 additions and 17 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue