v1.18.x
barisusakli 9 years ago
parent 3a6ad52ac8
commit 5b6e8bd167

@ -5,7 +5,8 @@ var meta = require('../meta'),
function sendMinifiedJS(req, res, next) {
res.type('text/javascript').send(meta.js.target['nodebb.min.js'].cache);
var cache = meta.js.target['nodebb.min.js'] ? meta.js.target['nodebb.min.js'].cache : '';
res.type('text/javascript').send(cache);
}
// The portions of code involving the source map are commented out as they're broken in UglifyJS2

Loading…
Cancel
Save