Extracting FileController into a Uploader container
This commit is contained in:
parent
25f9662b3c
commit
bf797085e6
37 changed files with 4856 additions and 9 deletions
16
uploader/src/App.ts
Normal file
16
uploader/src/App.ts
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue