[master]: Disable sandbox guard.

This commit is contained in:
Konstantinos Triantafyllou 2023-12-23 04:31:05 +02:00
parent fcde529e5a
commit adfe71bf8e
1 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ import {properties} from "../../environments/environment";
export class SandboxGuard extends AdminDashboardGuard {
canActivateChild(childRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree {
return properties.environment != 'beta' || super.canActivateChild(childRoute, state);
return true;
//return properties.environment != 'beta' || super.canActivateChild(childRoute, state);
}
}