summaryrefslogtreecommitdiff
path: root/src/api/streaming.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-11-14 00:54:16 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-11-14 00:54:16 +0900
commitab2293aa4c0832f9e57d64aa22d2fce319fbfcb1 (patch)
tree0060da35ac7fcb525ba2df2d9ac02d71c10d7b29 /src/api/streaming.ts
parentAdd access log widget (diff)
downloadsharkey-ab2293aa4c0832f9e57d64aa22d2fce319fbfcb1.tar.gz
sharkey-ab2293aa4c0832f9e57d64aa22d2fce319fbfcb1.tar.bz2
sharkey-ab2293aa4c0832f9e57d64aa22d2fce319fbfcb1.zip
Add messaging widget
Diffstat (limited to 'src/api/streaming.ts')
-rw-r--r--src/api/streaming.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/streaming.ts b/src/api/streaming.ts
index 6caf7db3e8..1f0ba848c1 100644
--- a/src/api/streaming.ts
+++ b/src/api/streaming.ts
@@ -8,6 +8,7 @@ import isNativeToken from './common/is-native-token';
import homeStream from './stream/home';
import messagingStream from './stream/messaging';
+import messagingIndexStream from './stream/messaging-index';
import serverStream from './stream/server';
import requestsStream from './stream/requests';
import channelStream from './stream/channel';
@@ -58,6 +59,7 @@ module.exports = (server: http.Server) => {
const channel =
request.resourceURL.pathname === '/' ? homeStream :
request.resourceURL.pathname === '/messaging' ? messagingStream :
+ request.resourceURL.pathname === '/messaging-index' ? messagingIndexStream :
null;
if (channel !== null) {