From 5b9f3701f58ca00c151498d16b6a839a91ba8643 Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Mon, 2 Apr 2018 12:58:53 +0900 Subject: Abolish common and misc directories --- src/server/api/stream/othello-game.ts | 6 +++--- src/server/api/stream/othello.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/server/api/stream') diff --git a/src/server/api/stream/othello-game.ts b/src/server/api/stream/othello-game.ts index 00367a824e..6eb610331c 100644 --- a/src/server/api/stream/othello-game.ts +++ b/src/server/api/stream/othello-game.ts @@ -2,9 +2,9 @@ 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 '../../../common/event'; -import Othello from '../../../misc/othello/core'; -import * as maps from '../../../misc/othello/maps'; +import { publishOthelloGameStream } from '../../../event'; +import Othello from '../../../othello/core'; +import * as maps from '../../../othello/maps'; import { ParsedUrlQuery } from 'querystring'; export default function(request: websocket.request, connection: websocket.connection, subscriber: redis.RedisClient, user?: any): void { diff --git a/src/server/api/stream/othello.ts b/src/server/api/stream/othello.ts index 1cf9a1494f..4c292056da 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 '../../../common/event'; +import publishUserStream from '../../../event'; export default function(request: websocket.request, connection: websocket.connection, subscriber: redis.RedisClient, user: any): void { // Subscribe othello stream -- cgit v1.2.3-freya