From 2c96537554708c4bd5ad61c22025d0787616e0a2 Mon Sep 17 00:00:00 2001 From: Aaron Louie Date: Fri, 22 May 2020 15:28:15 -0400 Subject: [PATCH] Removes getting the window location pathname, because it screws up the session redirect --- src/environments/environment.runtime.ts | 2 +- src/index.html | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/environments/environment.runtime.ts b/src/environments/environment.runtime.ts index 64b3bd8..d661f74 100644 --- a/src/environments/environment.runtime.ts +++ b/src/environments/environment.runtime.ts @@ -9,5 +9,5 @@ export const environment: AppEnvironment = { production: _has(ENV, 'production', '$PRODUCTION') ? (ENV.production === 'true') : false, api: _has(ENV, 'api', '$API_URL') ? ENV.api : 'http://localhost:5000/v1.0', irbUrl: _has(ENV, 'irbUrl', '$IRB_URL') ? ENV.irbUrl : 'http://localhost:5001', - baseHref: _has(ENV, 'baseHref', '$BASE_HREF') ? ENV.baseHref : (window as any)._app_base || '/', + baseHref: _has(ENV, 'baseHref', '$BASE_HREF') ? ENV.baseHref : '/', }; diff --git a/src/index.html b/src/index.html index 8437cdf..89824a5 100644 --- a/src/index.html +++ b/src/index.html @@ -3,12 +3,8 @@ CR Connect - Configuration - +