diff --git a/src/app/pages/maintenance/maintenance.component.ts b/src/app/pages/maintenance/maintenance.component.ts index 6d95907..a026575 100644 --- a/src/app/pages/maintenance/maintenance.component.ts +++ b/src/app/pages/maintenance/maintenance.component.ts @@ -11,6 +11,9 @@ export class MaintenanceComponent implements OnInit { constructor(private appConfig: AppConfigService) { } ngOnInit(): void { + if (!this.appConfig.maintenanceMode) { + window.location.href = '/'; + } } public get maintenanceMessage(): string {