diff options
author | Chad Weider <cweider@oofn.net> | 2012-03-10 14:36:54 -0800 |
---|---|---|
committer | Chad Weider <cweider@oofn.net> | 2012-03-10 14:39:37 -0800 |
commit | ee312672d307e3bcc981b952dc2a4ff88d5c2d08 (patch) | |
tree | 8278bdfdd636433af7389b914eacc5f5699c7a6f /src | |
parent | 7b518eeb2d1e0dbe320fb336ff4156d8aad1514a (diff) | |
download | etherpad-lite-ee312672d307e3bcc981b952dc2a4ff88d5c2d08.zip |
This is duplicated by the contents of static.
Diffstat (limited to 'src')
-rw-r--r-- | src/ep.json | 1 | ||||
-rw-r--r-- | src/node/hooks/express/minified.js | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/ep.json b/src/ep.json index bc955dbf..59cbf3aa 100644 --- a/src/ep.json +++ b/src/ep.json @@ -3,7 +3,6 @@ { "name": "static", "hooks": { "expressCreateServer": "ep_etherpad-lite/node/hooks/express/static:expressCreateServer" } }, { "name": "specialpages", "hooks": { "expressCreateServer": "ep_etherpad-lite/node/hooks/express/specialpages:expressCreateServer" } }, { "name": "padurlsanitize", "hooks": { "expressCreateServer": "ep_etherpad-lite/node/hooks/express/padurlsanitize:expressCreateServer" } }, - { "name": "minified", "hooks": { "expressCreateServer": "ep_etherpad-lite/node/hooks/express/minified:expressCreateServer" } }, { "name": "padreadonly", "hooks": { "expressCreateServer": "ep_etherpad-lite/node/hooks/express/padreadonly:expressCreateServer" } }, { "name": "webaccess", "hooks": { "expressConfigure": "ep_etherpad-lite/node/hooks/express/webaccess:expressConfigure" } }, { "name": "apicalls", "hooks": { "expressCreateServer": "ep_etherpad-lite/node/hooks/express/apicalls:expressCreateServer" } }, diff --git a/src/node/hooks/express/minified.js b/src/node/hooks/express/minified.js deleted file mode 100644 index f8a988d7..00000000 --- a/src/node/hooks/express/minified.js +++ /dev/null @@ -1,6 +0,0 @@ -var minify = require('../../utils/Minify'); - -exports.expressCreateServer = function (hook_name, args, cb) { - //serve minified files - args.app.get(/^\/minified\/(.*)/, minify.minifyJS); -} |