diff --git a/pageUpdater.js b/pageUpdater.js index 68dd5f5..592910a 100644 --- a/pageUpdater.js +++ b/pageUpdater.js @@ -87,7 +87,7 @@ module.exports = { var data = fs.readFileSync(filePath).toString() if (req.path.includes(".css")) { res.setHeader("Content-Type", "text/css") - res.send(data) + res.send(minify.minify(data)) } else { data = converter(data) res.send(minify.minify(data))