Skip to content

Commit 8231272

Browse files
committed
恢复 WebSocket 服务器地址配置
1 parent 2816cee commit 8231272

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/js/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ import { renderUserList, // 渲染用户列表 / Render user list
8383
// 设置全局配置参数
8484
// Set global configuration parameters
8585
window.config = {
86-
//wsAddress: `${window.location.protocol === 'https:' ? 'wss:' : 'ws:'}//${window.location.host}`, // WebSocket 服务器地址 / WebSocket server address
87-
wsAddress: `wss://crypt.works`,
86+
wsAddress: `${window.location.protocol === 'https:' ? 'wss:' : 'ws:'}//${window.location.host}`, // WebSocket 服务器地址 / WebSocket server address
87+
//wsAddress: `wss://crypt.works`,
8888
debug: true // 是否开启调试模式 / Enable debug mode
8989
};
9090

0 commit comments

Comments
 (0)