mirror of https://github.com/calzoneman/sync.git
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…
Reference in New Issue