From abce27c5f639254bef5c4fc3016659c66dbbbe4c Mon Sep 17 00:00:00 2001 From: FyloZ Date: Wed, 9 Jun 2021 21:36:06 -0400 Subject: [PATCH] Correction window.location.href -> window.location.origin --- src/environments/environment.prod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index 583d460..ae45e0b 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -1,4 +1,4 @@ export const environment = { production: true, - apiUrl: 'https://cre.fyloz.dev/api' + apiUrl: window.location.origin + '/api' };