Dont minify js for now
This commit is contained in:
parent
e6b13dad62
commit
5b5d5887a2
1 changed files with 3 additions and 1 deletions
|
@ -148,7 +148,9 @@ module.exports = {
|
||||||
data = converter(data, req.query)
|
data = converter(data, req.query)
|
||||||
}
|
}
|
||||||
|
|
||||||
data = minify.minify(data)
|
if (!filePath.includes(".js")) {
|
||||||
|
data = minify.minify(data)
|
||||||
|
}
|
||||||
|
|
||||||
res.send(data)
|
res.send(data)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue