diff options
| author | Akihiko Odaki <nekomanma@pixiv.co.jp> | 2018-03-31 19:55:00 +0900 |
|---|---|---|
| committer | Akihiko Odaki <nekomanma@pixiv.co.jp> | 2018-03-31 20:33:14 +0900 |
| commit | 68a9aac9573969311dd00a44536c3ee4c05b883d (patch) | |
| tree | 7d6c502c1e2c61eb3327f678f766f23bda10c1e7 /src/server/api/stream | |
| parent | Store texts as HTML (diff) | |
| download | sharkey-68a9aac9573969311dd00a44536c3ee4c05b883d.tar.gz sharkey-68a9aac9573969311dd00a44536c3ee4c05b883d.tar.bz2 sharkey-68a9aac9573969311dd00a44536c3ee4c05b883d.zip | |
Implement remote status retrieval
Diffstat (limited to 'src/server/api/stream')
| -rw-r--r-- | src/server/api/stream/othello-game.ts | 2 | ||||
| -rw-r--r-- | src/server/api/stream/othello.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/api/stream/othello-game.ts b/src/server/api/stream/othello-game.ts index b6a251c4c8..b11915f8ff 100644 --- a/src/server/api/stream/othello-game.ts +++ b/src/server/api/stream/othello-game.ts @@ -2,7 +2,7 @@ import * as websocket from 'websocket'; import * as redis from 'redis'; import * as CRC32 from 'crc-32'; import OthelloGame, { pack } from '../../../models/othello-game'; -import { publishOthelloGameStream } from '../event'; +import { publishOthelloGameStream } from '../../../common/event'; import Othello from '../../../common/othello/core'; import * as maps from '../../../common/othello/maps'; import { ParsedUrlQuery } from 'querystring'; diff --git a/src/server/api/stream/othello.ts b/src/server/api/stream/othello.ts index 4205afae7c..1cf9a1494f 100644 --- a/src/server/api/stream/othello.ts +++ b/src/server/api/stream/othello.ts @@ -2,7 +2,7 @@ import * as mongo from 'mongodb'; import * as websocket from 'websocket'; import * as redis from 'redis'; import Matching, { pack } from '../../../models/othello-matching'; -import publishUserStream from '../event'; +import publishUserStream from '../../../common/event'; export default function(request: websocket.request, connection: websocket.connection, subscriber: redis.RedisClient, user: any): void { // Subscribe othello stream |