zhuliu hai 1 ano
pai
achega
a5ea4d1126
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/config/index.js

+ 2 - 2
src/config/index.js

@@ -3,7 +3,7 @@ export default {
     updateTime:'2023-08-04 08:00:00',
     specialDays:['05-12','09-18','12-13'],
     host: window.location.host,
-    url:process.env.NODE_ENV === 'production' ? 'https://xsip.cn:8080' : 'http://192.168.2.24:8080',
+    url:process.env.NODE_ENV === 'production' ? 'https://xsip.cn' : 'http://192.168.2.24:8080',
     staticURL: process.env.NODE_ENV === 'production' ? 'https://xsip.cn/onlinePreview' : 'http://192.168.2.24:8012',
-    WebSocketPath: process.env.NODE_ENV === 'production' ? 'wss://xsip.cn:8080' : 'ws://192.168.2.24:8877',
+    WebSocketPath: process.env.NODE_ENV === 'production' ? 'wss://xsip.cn' : 'ws://192.168.2.24:8877',
 }