1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

Ensure Angular is running as production (#1093)

This commit is contained in:
Oscar Hinton
2021-07-23 20:03:14 +02:00
committed by GitHub
parent d31150c7a1
commit 35d6a28c94
7 changed files with 9 additions and 8 deletions

View File

@@ -249,7 +249,7 @@ export class WebPlatformUtilsService implements PlatformUtilsService {
}
isDev(): boolean {
return process.env.ENV === 'development';
return process.env.NODE_ENV === 'development';
}
isSelfHost(): boolean {