befly-tpl 3.4.16 → 3.4.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/.env.development +6 -6
  2. package/package.json +3 -3
package/.env.development CHANGED
@@ -28,12 +28,12 @@ LOG_MAX_SIZE=52428800 # 50MB
28
28
  # 时区
29
29
  TZ="Asia/Shanghai"
30
30
  # 跨域配置
31
- ALLOWED_ORIGIN=""
32
- ALLOWED_METHODS="GET, POST, PUT, DELETE, OPTIONS"
33
- ALLOWED_HEADERS="Content-Type, Authorization, authorization, token"
34
- EXPOSE_HEADERS="Content-Range, X-Content-Range, Authorization, authorization, token"
35
- MAX_AGE=86400 # 1天
36
- ALLOW_CREDENTIALS="true"
31
+ CORS_ALLOWED_ORIGIN=""
32
+ CORS_ALLOWED_METHODS="GET, POST, PUT, DELETE, OPTIONS"
33
+ CORS_ALLOWED_HEADERS="Content-Type, Authorization, authorization, token"
34
+ CORS_EXPOSE_HEADERS="Content-Range, X-Content-Range, Authorization, authorization, token"
35
+ CORS_MAX_AGE=86400 # 1天
36
+ CORS_ALLOW_CREDENTIALS="true"
37
37
  # 数据库配置(DB_* 通用参数)
38
38
  DB_ENABLE=1
39
39
  DB_TYPE="mysql" # 支持 sqlite | mysql | postgresql
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "befly-tpl",
3
- "version": "3.4.16",
3
+ "version": "3.4.17",
4
4
  "description": "Befly 3.0 TypeScript Template",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -31,10 +31,10 @@
31
31
  ],
32
32
  "type": "module",
33
33
  "dependencies": {
34
- "befly": "^3.4.15"
34
+ "befly": "^3.4.16"
35
35
  },
36
36
  "engines": {
37
37
  "bun": ">=1.3.0"
38
38
  },
39
- "gitHead": "f7fad19e6c07b776a4a3c1aa83d09497ababb719"
39
+ "gitHead": "e1533f0a123ef756790fad4fc34dd9690a30f72e"
40
40
  }