feat(config): add new image hosting configuration for picui

This commit is contained in:
2026-06-23 18:58:40 +08:00
parent 25b786bcad
commit 6c25a24440
2 changed files with 5 additions and 5 deletions
+4
View File
@@ -32,6 +32,10 @@ const nextConfig: NextConfig = {
hostname: "**.supabase.co", hostname: "**.supabase.co",
pathname: "/storage/v1/object/public/**", pathname: "/storage/v1/object/public/**",
}, },
{
protocol: "https",
hostname: "free.picui.cn",
},
], ],
}, },
}; };
+1 -5
View File
@@ -1,10 +1,6 @@
/** /**
* 聊天 WebSocket 处理器 * 聊天 WebSocket 处理器
* *
* 原始 Dart: lib/core/net/websocket_handler.dart
*
* 浏览器方案:使用原生 `WebSocket` API,封装连接管理 + 重连 + 事件回调。
*
* 事件: * 事件:
* - onConnected(userId) * - onConnected(userId)
* - onTyping(isTyping) * - onTyping(isTyping)