Fix build
Some checks failed
FarmMaps.Develop/FarmMapsLib/pipeline/head There was a failure building this commit
Some checks failed
FarmMaps.Develop/FarmMapsLib/pipeline/head There was a failure building this commit
This commit is contained in:
parent
4bda94c360
commit
a05c1fa874
@ -1,11 +1,10 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { environment } from '@environment/environment';
|
||||
import { Injectable, isDevMode } from '@angular/core';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class ProductionGuard {
|
||||
canActivate(): boolean {
|
||||
return environment.production;
|
||||
return !isDevMode();
|
||||
}
|
||||
}
|
||||
|
@ -34,9 +34,6 @@
|
||||
],
|
||||
"ngx-openlayers/*": [
|
||||
"dist/ngx-openlayers/*"
|
||||
],
|
||||
"@environment/*": [
|
||||
"src/environments/*"
|
||||
]
|
||||
},
|
||||
"useDefineForClassFields": false
|
||||
|
Loading…
Reference in New Issue
Block a user