summaryrefslogtreecommitdiff
path: root/src/server/api/streaming.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-07-11 14:33:03 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-07-11 14:33:03 +0900
commitc41ccf7821c1729c1fdde09d4f62f5d6ba4f79bc (patch)
tree9f897627aa19d6576002a4dc0794066427e44f24 /src/server/api/streaming.ts
parentFix bug (diff)
downloadsharkey-c41ccf7821c1729c1fdde09d4f62f5d6ba4f79bc.tar.gz
sharkey-c41ccf7821c1729c1fdde09d4f62f5d6ba4f79bc.tar.bz2
sharkey-c41ccf7821c1729c1fdde09d4f62f5d6ba4f79bc.zip
Fix bug
Diffstat (limited to 'src/server/api/streaming.ts')
-rw-r--r--src/server/api/streaming.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/api/streaming.ts b/src/server/api/streaming.ts
index 7c2245703e..afa0de2ce1 100644
--- a/src/server/api/streaming.ts
+++ b/src/server/api/streaming.ts
@@ -5,6 +5,7 @@ import config from '../../config';
import homeStream from './stream/home';
import localTimelineStream from './stream/local-timeline';
+import hybridTimelineStream from './stream/hybrid-timeline';
import globalTimelineStream from './stream/global-timeline';
import userListStream from './stream/user-list';
import driveStream from './stream/drive';
@@ -64,6 +65,7 @@ module.exports = (server: http.Server) => {
const channel: any =
request.resourceURL.pathname === '/' ? homeStream :
request.resourceURL.pathname === '/local-timeline' ? localTimelineStream :
+ request.resourceURL.pathname === '/hybrid-timeline' ? hybridTimelineStream :
request.resourceURL.pathname === '/global-timeline' ? globalTimelineStream :
request.resourceURL.pathname === '/user-list' ? userListStream :
request.resourceURL.pathname === '/drive' ? driveStream :