mirror of
https://github.com/calzoneman/sync.git
synced 2024-09-13 04:32:09 +00:00
Fix variable misuse
This commit is contained in:
parent
04336c9712
commit
fac11ee312
@ -169,8 +169,8 @@ module.exports = {
|
||||
|
||||
if (webConfig.getEnableMinification()) {
|
||||
const cacheDir = path.join(__dirname, '..', '..', 'www', 'cache');
|
||||
if (!fs.existsSync(cache)) {
|
||||
fs.mkdirSync(cache);
|
||||
if (!fs.existsSync(cacheDir)) {
|
||||
fs.mkdirSync(cacheDir);
|
||||
}
|
||||
app.use(require('express-minify')({
|
||||
cache: cacheDir
|
||||
|
Loading…
x
Reference in New Issue
Block a user