Bläddra i källkod

切换测试地址

xiaohaizhao 6 månader sedan
förälder
incheckning
2ad2e29779
1 ändrade filer med 4 tillägg och 4 borttagningar
  1. 4 4
      vite.config.js

+ 4 - 4
vite.config.js

@@ -12,15 +12,15 @@ export default defineConfig({
   },
   define: {
     'process.env': {
-      'BASE_API':"http://60.204.153.188"
-      // 'BASE_API':"http://61.164.207.46:8100/"
+      // 'BASE_API':"http://60.204.153.188"
+      'BASE_API':"http://61.164.207.46:8100/"
     }
   },
   server: {
     proxy: {
       "/api": {
-        target: "http://60.204.153.188/",
-        // target: "http://61.164.207.46:8100/",
+        // target: "http://60.204.153.188/",
+        target: "http://61.164.207.46:8100/",
         ws: true,
         changeOrigin: true,
         rewrite: (path) => path.replace(/^\/api/, ""),