fix: import log after index in server entrypoint
This commit is contained in:
parent
fce64f3850
commit
e415023a72
@ -1,9 +1,10 @@
|
|||||||
import * as http from "http";
|
import * as http from "http";
|
||||||
import * as WebSocket from "ws";
|
import * as WebSocket from "ws";
|
||||||
|
|
||||||
import log from "@common/logger";
|
|
||||||
import { createApp, ServerState, WebSocketApi } from "../";
|
import { createApp, ServerState, WebSocketApi } from "../";
|
||||||
|
|
||||||
|
import log from "@common/logger";
|
||||||
|
|
||||||
const state = new ServerState();
|
const state = new ServerState();
|
||||||
const app = createApp(state);
|
const app = createApp(state);
|
||||||
const webSocketApi = new WebSocketApi(state);
|
const webSocketApi = new WebSocketApi(state);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user