mirror of
https://github.com/certd/certd.git
synced 2026-04-14 12:30:54 +08:00
refactor: cacheControl
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user