frontend
frontend copied to clipboard
Tracking Issue: 通知
api: https://github.com/bangumi/GraphQL/blob/master/docs/socket.io.md#获取通知
现在用的是socket.io,可以在websocket不能工作的情况下fallback回polling。
但我们并不需要全双工,而且cf的服务器支持HTTP2/HTTP3,所以也可以考虑用sse。
netlify 不能代理 sse,还是用socket.io 吧
可以基于 https://github.com/bangumi/frontend/pull/239 继续做...