mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
terser was not called because mime type did not match
This commit is contained in:
parent
cedd27e4fe
commit
1d8e8d3484
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ function getFileCompressed(filename, contentType, callback) {
|
|||
getFile(filename, function (error, content) {
|
||||
if (error || !content || !settings.minify) {
|
||||
callback(error, content);
|
||||
} else if (contentType == 'text/javascript') {
|
||||
} else if (contentType == 'application/javascript') {
|
||||
threadsPool.queue(async ({ compressJS }) => {
|
||||
try {
|
||||
logger.info('Compress JS file %s.', filename)
|
||||
|
|
Loading…
Reference in a new issue