Add auto update component
This commit is contained in:
parent
3d90da62e5
commit
8149ecac71
@ -17,6 +17,7 @@ import FormHelperComponent from "wms-core/components/FormHelperComponent";
|
||||
import CsrfProtectionComponent from "wms-core/components/CsrfProtectionComponent";
|
||||
import WebSocketServerComponent from "wms-core/components/WebSocketServerComponent";
|
||||
import HomeController from "./controllers/HomeController";
|
||||
import AutoUpdateComponent from "wms-core/components/AutoUpdateComponent";
|
||||
|
||||
export default class ExampleApp extends Application {
|
||||
private readonly port: number;
|
||||
@ -56,6 +57,7 @@ export default class ExampleApp extends Application {
|
||||
this.use(new MaintenanceComponent(this, () => {
|
||||
return redisComponent.canServe() && mysqlComponent.canServe();
|
||||
}));
|
||||
this.use(new AutoUpdateComponent());
|
||||
|
||||
// Services
|
||||
this.use(mysqlComponent);
|
||||
|
Loading…
Reference in New Issue
Block a user