refactor: cacheControl

pull/21/merge
xiaojunnuo 2023-07-03 17:57:26 +08:00
parent 05f74ab654
commit 9f3adddd41
1 changed files with 1 additions and 1 deletions

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: {