fix: use header/footer cache in prod

v1.18.x
Barış Soner Uşaklı 4 years ago
parent 05a92885f2
commit a0164b1c38

@ -15,6 +15,7 @@ const cache = cacheCreate({
name: 'header-footer',
max: 1000,
maxAge: 0,
enabled: global.env === 'production',
});
const relative_path = nconf.get('relative_path');

Loading…
Cancel
Save