Selaa lähdekoodia

修改代理配置

cc12458 4 kuukautta sitten
vanhempi
commit
7933160590
3 muutettua tiedostoa jossa 4 lisäystä ja 10 poistoa
  1. 2 2
      .env/.env.development
  2. 1 1
      .env/.env.production
  3. 1 7
      vite.config.ts

+ 2 - 2
.env/.env.development

@@ -1,3 +1,3 @@
-REQUEST_API_PROXY_URL=https://wx.hzliuzhi.com/manager
+REQUEST_API_PROXY_URL=https://wx.hzliuzhi.com:4433
 
-SIX_REQUEST_BASE=/
+SIX_REQUEST_BASE=/manager

+ 1 - 1
.env/.env.production

@@ -1,3 +1,3 @@
-REQUEST_API_PROXY_URL=https://wx.hzliuzhi.com/manager
+REQUEST_API_PROXY_URL=https://wx.hzliuzhi.com
 
 SIX_REQUEST_BASE=/manager

+ 1 - 7
vite.config.ts

@@ -48,13 +48,7 @@ export default defineConfig((configEnv) => {
       open: true,
       port: 55555,
       proxy: {
-        '/fdhb-tablet': {
-          target: env.REQUEST_API_PROXY_URL,
-          secure: false,
-          changeOrigin: false,
-          logLevel: 'debug',
-        },
-        '/file': {
+        '/manager': {
           target: env.REQUEST_API_PROXY_URL,
           secure: false,
           changeOrigin: false,