feat app 模块化启动
This commit is contained in:
@@ -10,7 +10,7 @@ class WebSocketService {
|
||||
}
|
||||
|
||||
connect(squareId, onMessage, onStatusChange) {
|
||||
const wsUrl = `ws://localhost:8501/?token=${squareId}`;
|
||||
const wsUrl = `wss://www.hlsq.asia/ws/?token=${squareId}`;
|
||||
|
||||
try {
|
||||
const ws = new WebSocket(wsUrl);
|
||||
|
||||
Reference in New Issue
Block a user