refactor: cacheControl

This commit is contained in:
xiaojunnuo
2023-07-03 17:57:26 +08:00
parent 05f74ab654
commit 9f3adddd41

View File

@@ -16,7 +16,7 @@ const development = {
staticFile: {
usePrecompiledGzip: true,
buffer: true,
cacheControl: 'maxAge=' + 30 * 24 * 60 * 60 * 1000,
maxAge: 30 * 24 * 60 * 60 * 1000,
gzip: true,
dirs: {
default: {