partey_workadventure/back/src/App.ts

20 lines
567 B
TypeScript
Raw Normal View History

// lib/app.ts
import {PrometheusController} from "./Controller/PrometheusController";
import {DebugController} from "./Controller/DebugController";
2020-09-28 18:52:54 +02:00
import {App as uwsApp} from "./Server/sifrr.server";
class App {
2020-09-28 18:52:54 +02:00
public app: uwsApp;
public prometheusController: PrometheusController;
private debugController: DebugController;
constructor() {
2020-09-28 18:52:54 +02:00
this.app = new uwsApp();
this.prometheusController = new PrometheusController(this.app);
this.debugController = new DebugController(this.app);
}
}
2020-09-28 18:52:54 +02:00
export default new App().app;