mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
Moved all the hooks into a hooks directory
This commit is contained in:
parent
6754eed9b4
commit
7b42987407
11 changed files with 36 additions and 36 deletions
6
node/hooks/express/minified.js
Normal file
6
node/hooks/express/minified.js
Normal file
|
@ -0,0 +1,6 @@
|
|||
var minify = require('../../utils/Minify');
|
||||
|
||||
exports.expressCreateServer = function (hook_name, args, cb) {
|
||||
//serve minified files
|
||||
args.app.get('/minified/:filename', minify.minifyJS);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue