rsanchez
2017-04-17 19be37d4112b9c1ff2568af4c652deccd4c0b3c5
securis/src/main/webapp/src/app/common/session.ts
....@@ -1,6 +1,9 @@
11 import { Locker } from 'angular-safeguard';
22 import { Injectable } from '@angular/core';
33
4
+declare var window: any;
5
+
6
+export const IS_DEV_MODE : Boolean = window.location.href.startsWith("http://localhost");
47
58 @Injectable()
69 export class SeCurisSession {
....@@ -8,7 +11,6 @@
811 sessionData: any = {}
912
1013 constructor(private store: Locker) {
11
-
1214 }
1315
1416 public get(key: string): any {