ily.li/src/main.ts

10 lines
230 B
TypeScript

import Logger from "wms-core/Logger";
import App from "./App";
import config from "config";
(async () => {
const app = new App(config.get<number>('port'));
await app.start();
})().catch(err => {
Logger.error(err);
});