You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
856 B
34 lines
856 B
4 months ago
|
// | ------------------------------------------------------------
|
||
|
// | @版本: version 0.1
|
||
|
// | @创建人: 【Nie-x7129】
|
||
|
// | @E-mail: x71291@outlook.com
|
||
|
// | @所在项目: initkoa
|
||
|
// | @文件描述: production.env.js -
|
||
|
// | @创建时间: 2023-11-25 21:36
|
||
|
// | @更新时间: 2023-11-25 21:36
|
||
|
// | @修改记录:
|
||
|
// | -*-*-*- (时间--修改人--修改说明) -*-*-*-
|
||
|
// | =
|
||
|
// | ------------------------------------------------------------
|
||
|
|
||
|
|
||
|
const prodConfig = {
|
||
|
appName: 'koa web application',
|
||
|
port: 3000,
|
||
|
zip: true,
|
||
|
upfile:{
|
||
|
maxFileSize: 200 * 1024 * 1024,
|
||
|
hashAlgorithm: false, // md5 sha1 sha256 sha512
|
||
|
},
|
||
|
request:{
|
||
|
maxFieldsSize: 2 * 1024 * 1024,// 请求体大小
|
||
|
},
|
||
|
ratelimit:{
|
||
|
status: true,
|
||
|
duration: 60 * 1000,
|
||
|
max: 100,
|
||
|
},
|
||
|
}
|
||
|
|
||
|
export default prodConfig
|