mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-03 09:18:05 +09:00
Merge pull request #2860 from mei23/mei-1009-v10d
互換ストリーム / に main streamの内容も流す
This commit is contained in:
commit
1e90372d28
@ -44,6 +44,10 @@ module.exports = (server: http.Server) => {
|
||||
request.resourceURL.pathname === '/local-timeline' ? channels.localTimeline :
|
||||
request.resourceURL.pathname === '/hybrid-timeline' ? channels.hybridTimeline :
|
||||
request.resourceURL.pathname === '/global-timeline' ? channels.globalTimeline : null);
|
||||
|
||||
if (request.resourceURL.pathname === '/') {
|
||||
main.connectChannel(Math.random().toString(), null, channels.main);
|
||||
}
|
||||
}
|
||||
|
||||
connection.once('close', () => {
|
||||
|
Loading…
Reference in New Issue
Block a user