Selaa lähdekoodia

更换服务器配置

asd26269546 1 vuosi sitten
vanhempi
commit
884da6ef44
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      .env.staging
  2. 1 1
      vue.config.js

+ 1 - 1
.env.staging

@@ -5,7 +5,7 @@ VUE_APP_TITLE = ByteSailing
 VUE_APP_ENV = 'staging'
 
 # 用户名
-VUE_APP_USERNAME = 'smt'
+
 
 # 若依管理系统/生产环境
 VUE_APP_BASE_API = '/test-api'

+ 1 - 1
vue.config.js

@@ -25,7 +25,7 @@ module.exports = defineConfig({
 		proxy: {
 			// https://cn.vitejs.dev/config/#server-proxy
 			'/test-api': {
-				target: 'http://36.134.91.96:9898',
+				target: 'http://121.37.194.75:20006',
 				changeOrigin: true,
 				rewrite: (p) => p.replace(/^\/dev-api/, '')
 			},