From 3a29297e886c8f4cc247e065df9a60d6177514a2 Mon Sep 17 00:00:00 2001
From: rsanchez <rsanchez@curisit.net>
Date: Thu, 02 Mar 2017 15:52:51 +0000
Subject: [PATCH] #3527 feature - Added common components like i18n and local storage
---
securis/src/main/webapp/src/main.ts | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/securis/src/main/webapp/src/main.ts b/securis/src/main/webapp/src/main.ts
index 923ac5b..a75fbfe 100644
--- a/securis/src/main/webapp/src/main.ts
+++ b/securis/src/main/webapp/src/main.ts
@@ -4,6 +4,10 @@
import { AppModule } from './app/app.module';
import { enableProdMode } from '@angular/core';
-enableProdMode();
+import { environment } from './environments/environment';
+
+if (environment.production) {
+ enableProdMode();
+}
platformBrowserDynamic().bootstrapModule(AppModule);
--
Gitblit v1.3.2