mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
refactor: cacheControl
This commit is contained in:
@@ -16,7 +16,7 @@ const development = {
|
|||||||
staticFile: {
|
staticFile: {
|
||||||
usePrecompiledGzip: true,
|
usePrecompiledGzip: true,
|
||||||
buffer: true,
|
buffer: true,
|
||||||
cacheControl: 'maxAge=' + 30 * 24 * 60 * 60 * 1000,
|
maxAge: 30 * 24 * 60 * 60 * 1000,
|
||||||
gzip: true,
|
gzip: true,
|
||||||
dirs: {
|
dirs: {
|
||||||
default: {
|
default: {
|
||||||
|
|||||||
Reference in New Issue
Block a user