zhuliu 1 year ago
parent
commit
a5ea4d1126
1 changed files with 2 additions and 2 deletions
  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',
 }