mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-04 06:40:44 +01:00
closes #4171
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user