zhuliu 1 anno fa
parent
commit
433600eb98
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/config/index.js

+ 2 - 2
src/config/index.js

@@ -3,6 +3,6 @@ export default {
     updateTime:'2023-08-04 08:00:00',
     specialDays:['05-12','09-18','12-13'],
     host: window.location.host,
-    staticURL: process.env.NODE_ENV === 'production' ? '139.224.24.90' : '192.168.1.24',
-    WebSocketPath: process.env.NODE_ENV === 'production' ? '139.224.24.90:8879' : '192.168.1.24:8877',
+    staticURL: process.env.NODE_ENV === 'production' ? '139.224.24.90' : 'http://192.168.1.24',
+    WebSocketPath: process.env.NODE_ENV === 'production' ? '139.224.24.90:8879' : 'ws://192.168.1.24:8877',
 }