refactor: 1.1.4

This commit is contained in:
xiaojunnuo
2023-07-03 13:42:48 +08:00
parent 461de8d269
commit 0317118cd9
2 changed files with 15 additions and 12 deletions
@@ -7,7 +7,6 @@ import { PipelineEntity } from '../modules/pipeline/entity/pipeline';
//import { logger } from '../utils/logger';
// load .env file in process.cwd
import { mergeConfig } from './loader';
const development = {
keys: '',
koa: {
@@ -16,7 +15,7 @@ const development = {
staticFile: {
usePrecompiledGzip: true,
buffer: true,
maxAge: 60 * 60 * 24 * 30 * 1000,
maxAge: 0,
gzip: true,
dirs: {
default: {
@@ -25,11 +24,6 @@ const development = {
alias: {
'/': '/index.html',
},
files: {
'/index.html': {
maxAge: 60 * 60 * 1000,
},
},
},
},
},