@dazhicheng/common 1.0.10 → 1.0.12
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 +3 -2
- package/Dockerfile +1 -1
- package/nginx_dev.conf +1 -1
- package/nginx_test.conf +1 -1
- package/package.json +1 -1
package/.env.development
CHANGED
|
@@ -14,8 +14,9 @@ VITE_API_PROXY_URL_dev = http://192.168.128.215:11000
|
|
|
14
14
|
VITE_API_MOCK = http://192.168.129.158:9998/mock/
|
|
15
15
|
VITE_API_PROXY_URL_test = http://192.168.127.72:11000/
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
# 域名
|
|
18
|
+
VITE_API_PROXY_URL_DEV_DOMAIN = http://fulfillment-dev.tiantai-jp.com:11000/
|
|
19
|
+
VITE_API_PROXY_URL_TEST_DOMAIN = http://fulfillment-test.tiantai-jp.com:11000/
|
|
19
20
|
|
|
20
21
|
<<<VITE_API_PROXY_URL>>>
|
|
21
22
|
|
package/Dockerfile
CHANGED
|
@@ -25,7 +25,7 @@ FROM nginx:stable-alpine
|
|
|
25
25
|
ARG NODE_ENV=dev
|
|
26
26
|
|
|
27
27
|
# 复制 Nginx 配置
|
|
28
|
-
COPY
|
|
28
|
+
COPY --from=builder /app/nginx_${NODE_ENV}.conf /etc/nginx/conf.d/default.conf
|
|
29
29
|
|
|
30
30
|
# 复制构建产物
|
|
31
31
|
COPY --from=builder /app/dist /usr/share/nginx/html
|
package/nginx_dev.conf
CHANGED
|
@@ -16,7 +16,7 @@ server {
|
|
|
16
16
|
proxy_set_header Host $host;
|
|
17
17
|
proxy_set_header X-Real-Ip $remote_addr;
|
|
18
18
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
19
|
-
proxy_pass http://
|
|
19
|
+
proxy_pass http://fulfillment-dev.tiantai-jp.com:11000/;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
error_page 500 502 503 504 /50x.html;
|
package/nginx_test.conf
CHANGED
|
@@ -16,7 +16,7 @@ server {
|
|
|
16
16
|
proxy_set_header Host $host;
|
|
17
17
|
proxy_set_header X-Real-Ip $remote_addr;
|
|
18
18
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
19
|
-
proxy_pass http://
|
|
19
|
+
proxy_pass http://fulfillment-test.tiantai-jp.com:11000/;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
error_page 500 502 503 504 /50x.html;
|