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' };