Extracting FileController into a Uploader container

This commit is contained in:
David Négrier 2020-12-09 21:29:29 +01:00
parent 25f9662b3c
commit bf797085e6
37 changed files with 4856 additions and 9 deletions

16
uploader/src/App.ts Normal file
View file

@ -0,0 +1,16 @@
// lib/app.ts
import {FileController} from "./Controller/FileController";
import {App as uwsApp} from "./Server/sifrr.server";
class App {
public app: uwsApp;
public fileController: FileController;
constructor() {
this.app = new uwsApp();
this.fileController = new FileController(this.app);
}
}
export default new App().app;