diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-11-16 23:46:36 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-11-16 23:46:36 +0900 |
| commit | a8c6d0ed9023f7e0699cfe5c519532231e49cc3b (patch) | |
| tree | 8e467523af5af939ebd6362636c9ba86909b889b /src/api/streaming.ts | |
| parent | Fix indentation (diff) | |
| download | misskey-a8c6d0ed9023f7e0699cfe5c519532231e49cc3b.tar.gz misskey-a8c6d0ed9023f7e0699cfe5c519532231e49cc3b.tar.bz2 misskey-a8c6d0ed9023f7e0699cfe5c519532231e49cc3b.zip | |
#465
Diffstat (limited to 'src/api/streaming.ts')
| -rw-r--r-- | src/api/streaming.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/streaming.ts b/src/api/streaming.ts index 1f0ba848c1..c06d64c245 100644 --- a/src/api/streaming.ts +++ b/src/api/streaming.ts @@ -7,6 +7,7 @@ import AccessToken from './models/access-token'; import isNativeToken from './common/is-native-token'; import homeStream from './stream/home'; +import driveStream from './stream/drive'; import messagingStream from './stream/messaging'; import messagingIndexStream from './stream/messaging-index'; import serverStream from './stream/server'; @@ -58,6 +59,7 @@ module.exports = (server: http.Server) => { const channel = request.resourceURL.pathname === '/' ? homeStream : + request.resourceURL.pathname === '/drive' ? driveStream : request.resourceURL.pathname === '/messaging' ? messagingStream : request.resourceURL.pathname === '/messaging-index' ? messagingIndexStream : null; |