This repository has been archived on 2026-08-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
FarmMapsLib/projects/common/src/fm/services/production-guard.service.ts
T
peter a05c1fa874
FarmMaps.Develop/FarmMapsLib/pipeline/head There was a failure building this commit
Fix build
2024-01-30 10:52:02 +01:00

11 lines
185 B
TypeScript

import { Injectable, isDevMode } from '@angular/core';
@Injectable({
providedIn: 'root',
})
export class ProductionGuard {
canActivate(): boolean {
return !isDevMode();
}
}