@dazhicheng/common 1.0.47 → 1.0.49

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,7 +10,7 @@ VITE_MOCK_ENABLED = true
10
10
  # 代理目标地址(开发环境通过 Vite 代理转发请求到此地址,解决跨域问题)
11
11
 
12
12
  # 域名
13
- VITE_API_PROXY_URL_dev = http://fulfillment-dev.tiantai-jp.com:11000/
13
+ VITE_API_PROXY_URL_dev = https://dev.fulfillment.tiantai-jp.com/
14
14
  VITE_API_PROXY_URL_test = http://fulfillment-test.tiantai-jp.com:11000/
15
15
 
16
16
 
package/deploy-docker.sh CHANGED
@@ -211,7 +211,7 @@ start_sidecar_container() {
211
211
  -p "127.0.0.1:${TEMP_PORT}:${CONTAINER_PORT}" \
212
212
  -v "${ASSETS_VOL}:/usr/share/nginx/html" \
213
213
  -e "ASSET_RETENTION_DAYS=${ASSET_RETENTION_DAYS}" \
214
- "${IMAGE_NAME}:latest"
214
+ "${IMAGE_NAME}:latest" >/dev/null
215
215
  echo "$TEMP_PORT"
216
216
  return 0
217
217
  fi
@@ -221,7 +221,7 @@ start_sidecar_container() {
221
221
  -p "127.0.0.1::${CONTAINER_PORT}" \
222
222
  -v "${ASSETS_VOL}:/usr/share/nginx/html" \
223
223
  -e "ASSET_RETENTION_DAYS=${ASSET_RETENTION_DAYS}" \
224
- "${IMAGE_NAME}:latest"
224
+ "${IMAGE_NAME}:latest" >/dev/null
225
225
  docker port "$NEXT_NAME" "${CONTAINER_PORT}/tcp" | sed 's/.*://'
226
226
  }
227
227
 
package/nginx_dev.conf CHANGED
@@ -8,7 +8,8 @@ log_format proxy_log
8
8
  # 根据请求IP分配后端地址(公网IP走公网,默认走内网)
9
9
  map $host $dev_backend_addr {
10
10
  # fulfillment-dev.tiantai-jp.com -> 192.168.128.215
11
- default fulfillment-dev.tiantai-jp.com:11000; # 默认走内网
11
+ # default fulfillment-dev.tiantai-jp.com:11000; # 默认走内网
12
+ default dev.fulfillment.tiantai-jp.com; # 默认走内网
12
13
  # ly-dev.tiantai-jp.com -> 14.127.204.225
13
14
  #
14
15
  120.76.61.203 ly-dev.tiantai-jp.com:11000; # 公网IP走公网
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dazhicheng/common",
3
- "version": "1.0.47",
3
+ "version": "1.0.49",
4
4
  "description": "共享配置文件",
5
5
  "type": "module",
6
6
  "types": "./src/types/index.d.ts",
@@ -1 +1,2 @@
1
- export {};
1
+ /** @dazhicheng/common shared type declarations */
2
+ export {};