mirror of https://github.com/certd/certd
refactor: cacheControl
parent
05f74ab654
commit
9f3adddd41
|
@ -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: {
|
||||||
|
|
Loading…
Reference in New Issue