diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-07-11 14:33:03 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-07-11 14:33:03 +0900 |
| commit | c41ccf7821c1729c1fdde09d4f62f5d6ba4f79bc (patch) | |
| tree | 9f897627aa19d6576002a4dc0794066427e44f24 /src/server/api/streaming.ts | |
| parent | Fix bug (diff) | |
| download | sharkey-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.ts | 2 |
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 : |