Fixing missing uuid in back

This commit is contained in:
David Négrier 2020-12-02 17:51:46 +01:00
parent 4c1e566a6c
commit 5a0dfdb1d5
4 changed files with 22 additions and 13 deletions

View file

@ -1,5 +1,4 @@
// lib/app.ts
import {IoSocketController} from "./Controller/IoSocketController"; //TODO fix import by "_Controller/..."
import {AuthenticateController} from "./Controller/AuthenticateController"; //TODO fix import by "_Controller/..."
import {MapController} from "./Controller/MapController";
import {PrometheusController} from "./Controller/PrometheusController";
@ -9,10 +8,9 @@ import {App as uwsApp} from "./Server/sifrr.server";
class App {
public app: uwsApp;
public ioSocketController: IoSocketController;
public authenticateController: AuthenticateController;
public fileController: FileController;
public mapController: MapController;
//public authenticateController: AuthenticateController;
//public fileController: FileController;
//public mapController: MapController;
public prometheusController: PrometheusController;
private debugController: DebugController;
@ -20,10 +18,9 @@ class App {
this.app = new uwsApp();
//create socket controllers
this.ioSocketController = new IoSocketController(this.app);
this.authenticateController = new AuthenticateController(this.app);
this.fileController = new FileController(this.app);
this.mapController = new MapController(this.app);
//this.authenticateController = new AuthenticateController(this.app);
//this.fileController = new FileController(this.app);
//this.mapController = new MapController(this.app);
this.prometheusController = new PrometheusController(this.app);
this.debugController = new DebugController(this.app);
}