codeMan 1 gadu atpakaļ
vecāks
revīzija
4d642f3b06
1 mainītis faili ar 10 papildinājumiem un 10 dzēšanām
  1. 10 10
      vite.config.js

+ 10 - 10
vite.config.js

@@ -19,20 +19,20 @@ export default defineConfig({
   // },
 
   // 正式地址
-  define: {
-    'process.env': {
-      'BASE_API':"https://www.cnyunl.com",
-      'BASE_WS':"wss://lsa.cnyunl.com/"
-    }
-  },
-
-  // 测试地址
   // define: {
   //   'process.env': {
-  //     'BASE_API':"http://61.164.207.46:8200",
-  //     'BASE_WS':"ws://61.164.207.46:8200/"
+  //     'BASE_API':"https://www.cnyunl.com",
+  //     'BASE_WS':"wss://lsa.cnyunl.com/"
   //   }
   // },
+
+  // 测试地址
+  define: {
+    'process.env': {
+      'BASE_API':"http://61.164.207.46:8200",
+      'BASE_WS':"ws://61.164.207.46:8200/"
+    }
+  },
   server: {
     proxy: {
       "/api": {