feat(config): add new image hosting configuration for picui
This commit is contained in:
@@ -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,10 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* 聊天 WebSocket 处理器
|
* 聊天 WebSocket 处理器
|
||||||
*
|
*
|
||||||
* 原始 Dart: lib/core/net/websocket_handler.dart
|
|
||||||
*
|
|
||||||
* 浏览器方案:使用原生 `WebSocket` API,封装连接管理 + 重连 + 事件回调。
|
|
||||||
*
|
|
||||||
* 事件:
|
* 事件:
|
||||||
* - onConnected(userId)
|
* - onConnected(userId)
|
||||||
* - onTyping(isTyping)
|
* - onTyping(isTyping)
|
||||||
|
|||||||
Reference in New Issue
Block a user