[DEV] update new karso URL

This commit is contained in:
Edouard DUPIN 2022-12-18 08:28:18 +01:00
parent f148a38c5d
commit 807f9e68c2
5 changed files with 10 additions and 10 deletions

View File

@ -9,8 +9,8 @@ public class WebLauncherLocal {
if (true) {
// for local test:
ConfigBaseVariable.apiAdress = "http://0.0.0.0:19080/karusic/api/";
//ConfigBaseVariable.ssoAdress = "http://localhost:15080/karauth/api/";
ConfigBaseVariable.ssoAdress = "https://atria-soft.org/karauth/api/";
//ConfigBaseVariable.ssoAdress = "http://localhost:15080/karso/api/";
ConfigBaseVariable.ssoAdress = "https://atria-soft.org/karso/api/";
}
WebLauncher.main(args);
}

View File

@ -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,

View File

@ -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,

View File

@ -10,7 +10,7 @@ export const environment = {
defaultServer: "karusic",
server: {
karusic: `${location.origin}/karusic/api`,
karauth: `${location.origin}/karauth/api`,
karso: `${location.origin}/karso/api`,
},
ssoSignIn: `${location.origin}/karso/signin/karusic/`,
ssoSignUp: `${location.origin}/karso/signup/karusic/`,

View File

@ -10,7 +10,7 @@ const environment_back_prod = {
defaultServer: "karusic",
server: {
karusic: 'http://192.168.1.156/karusic/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/karusic-dev/',
ssoSignUp: 'http://192.168.1.156/karso/signup/karusic-dev/',
@ -26,7 +26,7 @@ const environment_local = {
defaultServer: "karusic",
server: {
karusic: 'http://localhost:19080/karusic/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/karusic-dev/',
ssoSignUp: 'http://192.168.1.156/karso/signup/karusic-dev/',
@ -42,7 +42,7 @@ const environment_full_local = {
defaultServer: "karusic",
server: {
karusic: 'http://localhost:19080/karusic/api',
karauth: 'http://localhost:15080/karauth/api',
karso: 'http://localhost:15080/karso/api',
},
ssoSignIn: 'http://localhost:4200/signin/karusic-dev/',
ssoSignUp: 'http://localhost:4200/signup/karusic-dev/',
@ -58,7 +58,7 @@ const environment_hybrid = {
defaultServer: "karusic",
server: {
karusic: 'http://192.168.1.156/karusic/api',
karauth: 'http://192.168.1.156/karauth/api',
karso: 'http://192.168.1.156/karso/api',
},
ssoSignIn: 'http://localhost:4200/signin/karusic-dev/',
ssoSignUp: 'http://localhost:4200/signup/karusic-dev/',