1
0
forked from mirror/misskey

/ に main stream も流す

This commit is contained in:
mei23 2018-10-09 03:29:11 +09:00
parent d52cf46cc1
commit 913385b10d

View File

@ -44,6 +44,10 @@ module.exports = (server: http.Server) => {
request.resourceURL.pathname === '/local-timeline' ? channels.localTimeline : request.resourceURL.pathname === '/local-timeline' ? channels.localTimeline :
request.resourceURL.pathname === '/hybrid-timeline' ? channels.hybridTimeline : request.resourceURL.pathname === '/hybrid-timeline' ? channels.hybridTimeline :
request.resourceURL.pathname === '/global-timeline' ? channels.globalTimeline : null); request.resourceURL.pathname === '/global-timeline' ? channels.globalTimeline : null);
if (request.resourceURL.pathname === '/') {
main.connectChannel(Math.random().toString(), null, channels.main);
}
} }
connection.once('close', () => { connection.once('close', () => {