Browse Source

正式环境更换新地址

lxf 1 year ago
parent
commit
5ed096b47c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .env.prod
  2. 1 1
      vite.config.js

+ 1 - 1
.env.prod

@@ -15,4 +15,4 @@ VITE_BUILD_COMPRESS = gzip
 # 是否强制刷新
 # 是否强制刷新
 VITE_REFRESH = true
 VITE_REFRESH = true
 
 
-VITE_APP_IP = '139.9.184.42'
+VITE_APP_IP = '116.205.243.35'

+ 1 - 1
vite.config.js

@@ -41,7 +41,7 @@ export default defineConfig(({
         '/dev-api': {
         '/dev-api': {
           target: 'http://121.37.194.75:10000/test-api',
           target: 'http://121.37.194.75:10000/test-api',
           // 正式地址
           // 正式地址
-          // target: 'http://139.9.184.42:10000/prod-api',
+          // target: 'http://116.205.243.35:10000/prod-api',
           changeOrigin: true,
           changeOrigin: true,
           rewrite: (p) => p.replace(/^\/dev-api/, '')
           rewrite: (p) => p.replace(/^\/dev-api/, '')
         }
         }