mpp-server-dev2/src/index.ts

11 lines
249 B
TypeScript
Raw Normal View History

import env from "./util/env";
import { app } from "./ws/server";
import { Logger } from "./util/Logger";
2023-09-07 01:59:44 +02:00
2023-09-07 23:24:39 +02:00
const logger = new Logger("Main");
2023-09-09 07:36:25 +02:00
// No IPv6 (yet)
2023-09-07 23:24:39 +02:00
app.listen("0.0.0.0", env.PORT, () => {
logger.info("Listening on :" + env.PORT);
2023-09-07 01:59:44 +02:00
});