From 54fc8dd1f944b316c5b2b7322e79a5013cbce6b5 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Tue, 15 Nov 2022 22:42:48 +0100 Subject: [PATCH] [DEV] correct production mode in system --- front/src/environments/environment.prod.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/front/src/environments/environment.prod.ts b/front/src/environments/environment.prod.ts index 41085de..c84a689 100644 --- a/front/src/environments/environment.prod.ts +++ b/front/src/environments/environment.prod.ts @@ -9,12 +9,12 @@ export const environment = { applName: "karideo", defaultServer: "karideo", server: { - karideo: 'http://192.168.1.156/karideo/api', - karauth: 'http://192.168.1.156/karauth/api', + karideo: `${location.origin}/karideo/api`, + karauth: `${location.origin}/karauth/api`, }, - ssoSignIn: 'http://192.168.1.156/karso/signin/karideo/', - ssoSignUp: 'http://192.168.1.156/karso/signup/karideo/', - ssoSignOut: 'http://192.168.1.156/karso/signout/karideo/', + ssoSignIn: `${location.origin}/karso/signin/karideo/`, + ssoSignUp: `${location.origin}/karso/signup/karideo/`, + ssoSignOut: `${location.origin}/karso/signout/karideo/`, frontBaseUrl: '', apiMode: 'REWRITE' };