@dazhicheng/common 1.0.34 → 1.0.36

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.
package/.env.development CHANGED
@@ -10,8 +10,8 @@ VITE_MOCK_ENABLED = true
10
10
  # 代理目标地址(开发环境通过 Vite 代理转发请求到此地址,解决跨域问题)
11
11
 
12
12
  # 域名
13
- VITE_API_PROXY_URL_DEV = http://fulfillment-dev.tiantai-jp.com:11000/
14
- VITE_API_PROXY_URL_TEST = http://fulfillment-test.tiantai-jp.com:11000/
13
+ VITE_API_PROXY_URL_dev = http://fulfillment-dev.tiantai-jp.com:11000/
14
+ VITE_API_PROXY_URL_test = http://fulfillment-test.tiantai-jp.com:11000/
15
15
 
16
16
 
17
17
  <<<VITE_API_PROXY_URL>>>
package/nginx_dev.conf CHANGED
@@ -38,7 +38,7 @@ server {
38
38
  add_header 'Access-Control-Allow-Origin' '*' always;
39
39
  add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
40
40
  add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization' always;
41
- <<<CORS配置>>>
41
+ <<<assets_CORS配置>>>
42
42
  gzip_static on;
43
43
  }
44
44
 
@@ -52,7 +52,7 @@ server {
52
52
  add_header 'Access-Control-Allow-Origin' '*' always;
53
53
  add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
54
54
  add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization' always;
55
- <<<CORS配置>>>
55
+ <<<index_html_CORS配置>>>
56
56
  }
57
57
 
58
58
  location / {
@@ -61,7 +61,7 @@ server {
61
61
  add_header 'Access-Control-Allow-Origin' '*' always;
62
62
  add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
63
63
  add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization' always;
64
- <<<CORS配置>>>
64
+ <<<index_CORS配置>>>
65
65
  }
66
66
 
67
67
  location /dev-api/ {
package/nginx_test.conf CHANGED
@@ -37,7 +37,7 @@ server {
37
37
  add_header 'Access-Control-Allow-Origin' '*' always;
38
38
  add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
39
39
  add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization' always;
40
- <<<CORS配置>>>
40
+ <<<assets_CORS配置>>>
41
41
  gzip_static on;
42
42
  }
43
43
 
@@ -51,7 +51,7 @@ server {
51
51
  add_header 'Access-Control-Allow-Origin' '*' always;
52
52
  add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
53
53
  add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization' always;
54
- <<<CORS配置>>>
54
+ <<<index_html_CORS配置>>>
55
55
  }
56
56
 
57
57
  location / {
@@ -62,7 +62,7 @@ server {
62
62
  add_header 'Access-Control-Allow-Origin' '*' always;
63
63
  add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
64
64
  add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization' always;
65
- <<<CORS配置>>>
65
+ <<<index_CORS配置>>>
66
66
  }
67
67
 
68
68
  location /test-api/ {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dazhicheng/common",
3
- "version": "1.0.34",
3
+ "version": "1.0.36",
4
4
  "description": "共享配置文件",
5
5
  "type": "module",
6
6
  "types": "./src/types/index.d.ts",