pad.libre-service.eu-etherpad/node/hooks/express/minified.js

7 lines
191 B
JavaScript
Raw Normal View History

var minify = require('../../utils/Minify');
2012-02-24 23:55:19 +01:00
2012-02-25 16:53:15 +01:00
exports.expressCreateServer = function (hook_name, args, cb) {
2012-02-24 23:55:19 +01:00
//serve minified files
args.app.get('/minified/:filename', minify.minifyJS);
}