securis/src/main/webapp/src/app/common/session.ts
.. .. @@ -1,6 +1,9 @@ 1 1 import { Locker } from 'angular-safeguard'; 2 2 import { Injectable } from '@angular/core'; 3 3 4 +declare var window: any;5 +6 +export const IS_DEV_MODE : Boolean = window.location.href.startsWith("http://localhost");4 7 5 8 @Injectable() 6 9 export class SeCurisSession { .. .. @@ -8,7 +11,6 @@ 8 11 sessionData: any = {} 9 12 10 13 constructor(private store: Locker) { 11 -12 14 } 13 15 14 16 public get(key: string): any {