mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 22:17:30 -07:00
/ に main stream も流す
This commit is contained in:
parent
e828a20a1b
commit
88978f9239
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue