diff --git a/miniprogram/constants/config.ts b/miniprogram/constants/config.ts index 63b52a1..7e24555 100644 --- a/miniprogram/constants/config.ts +++ b/miniprogram/constants/config.ts @@ -35,7 +35,7 @@ const ENV_CONFIGS = { }, trial: { apiBaseUrl: 'https://panleme.fun', - wsUrl: 'wss://panleme.fun/ws', + wsUrl: 'wss://111.231.76.133/ws', debug: true, }, release: { diff --git a/miniprogram/services/websocket-manager.ts b/miniprogram/services/websocket-manager.ts index a812c72..c6493aa 100644 --- a/miniprogram/services/websocket-manager.ts +++ b/miniprogram/services/websocket-manager.ts @@ -59,7 +59,7 @@ class WebSocketManager { logger.log('WS', 'Connection initiated'); }, fail: error => { - logger.error('WS', 'Connection failed:', error); + logger.error('WS', 'Error:', JSON.stringify(error)); this.handleConnectionError(); }, });