From af96f6daae09c4346f5c87ac21e0bd38dc338f4f Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Sun, 18 Dec 2022 08:29:46 +0100 Subject: [PATCH] [DEV] update new KARSO URL --- front/src/common/scene/index.ts | 1 - front/src/common/service/sso.ts | 2 +- front/src/common/service/user.ts | 4 ++-- front/src/environments/environment.prod.ts | 2 +- front/src/environments/environment.ts | 6 +++--- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/front/src/common/scene/index.ts b/front/src/common/scene/index.ts index 0421ef5..a8cf7b4 100644 --- a/front/src/common/scene/index.ts +++ b/front/src/common/scene/index.ts @@ -8,7 +8,6 @@ import { NotFound404Scene } from "./404/404"; export { ErrorViewerScene, SsoScene, - //UploadScene, ForbiddenScene, HomeOutScene, NotFound404Scene, diff --git a/front/src/common/service/sso.ts b/front/src/common/service/sso.ts index 49b52cf..1909709 100644 --- a/front/src/common/service/sso.ts +++ b/front/src/common/service/sso.ts @@ -84,7 +84,7 @@ export class SSOService { return new Promise((resolve, reject) => { if (isNullOrUndefined(self.signUpEnable)) { this.http.requestJson({ - server: 'karauth', + server: 'karso', endPoint: 'system_config/is_sign_up_availlable', requestType: HTTPRequestModel.GET, accept: HTTPMimeType.JSON, diff --git a/front/src/common/service/user.ts b/front/src/common/service/user.ts index 8c56047..7ff0eab 100644 --- a/front/src/common/service/user.ts +++ b/front/src/common/service/user.ts @@ -166,7 +166,7 @@ export class UserService { let self = this; return new Promise((resolve, reject) => { this.http.requestJson({ - //server: 'karauth', + //server: 'karso', endPoint: 'users/me', requestType: HTTPRequestModel.GET, accept: HTTPMimeType.JSON, @@ -212,7 +212,7 @@ export class UserService { return new Promise((resolve, reject) => { this.http.requestJson({ - server: 'karauth', + server: 'karso', endPoint: 'users', requestType: HTTPRequestModel.POST, accept: HTTPMimeType.JSON, diff --git a/front/src/environments/environment.prod.ts b/front/src/environments/environment.prod.ts index 3843dcb..5e23e36 100644 --- a/front/src/environments/environment.prod.ts +++ b/front/src/environments/environment.prod.ts @@ -10,7 +10,7 @@ export const environment = { defaultServer: "karideo", server: { karideo: `${location.origin}/karideo/api`, - karauth: `${location.origin}/karauth/api`, + karso: `${location.origin}/karso/api`, }, ssoSignIn: `${location.origin}/karso/signin/karideo/`, ssoSignUp: `${location.origin}/karso/signup/karideo/`, diff --git a/front/src/environments/environment.ts b/front/src/environments/environment.ts index 166086c..545a38d 100644 --- a/front/src/environments/environment.ts +++ b/front/src/environments/environment.ts @@ -10,7 +10,7 @@ const environment_back_prod = { defaultServer: "karideo", server: { karideo: 'http://192.168.1.156/karideo/api', - karauth: 'http://192.168.1.156/karauth/api', + karso: 'http://192.168.1.156/karso/api', }, ssoSignIn: 'http://192.168.1.156/karso/signin/karideo-dev/', ssoSignUp: 'http://192.168.1.156/karso/signup/karideo-dev/', @@ -26,7 +26,7 @@ const environment_local = { defaultServer: "karideo", server: { karideo: 'http://localhost:18080/karideo/api', - karauth: 'http://192.168.1.156/karauth/api', + karso: 'http://192.168.1.156/karso/api', }, ssoSignIn: 'http://192.168.1.156/karso/signin/karideo-dev/', ssoSignUp: 'http://192.168.1.156/karso/signup/karideo-dev/', @@ -42,7 +42,7 @@ const environment_hybrid = { defaultServer: "karideo", server: { karideo: 'http://192.168.1.156/karideo/api', - karauth: 'http://192.168.1.156/karauth/api', + karso: 'http://192.168.1.156/karso/api', }, ssoSignIn: 'http://192.168.1.156/karso/signin/karideo-dev/', ssoSignUp: 'http://192.168.1.156/karso/signup/karideo-dev/',