[DEV] update new karso URL
This commit is contained in:
parent
f148a38c5d
commit
807f9e68c2
@ -9,8 +9,8 @@ public class WebLauncherLocal {
|
|||||||
if (true) {
|
if (true) {
|
||||||
// for local test:
|
// for local test:
|
||||||
ConfigBaseVariable.apiAdress = "http://0.0.0.0:19080/karusic/api/";
|
ConfigBaseVariable.apiAdress = "http://0.0.0.0:19080/karusic/api/";
|
||||||
//ConfigBaseVariable.ssoAdress = "http://localhost:15080/karauth/api/";
|
//ConfigBaseVariable.ssoAdress = "http://localhost:15080/karso/api/";
|
||||||
ConfigBaseVariable.ssoAdress = "https://atria-soft.org/karauth/api/";
|
ConfigBaseVariable.ssoAdress = "https://atria-soft.org/karso/api/";
|
||||||
}
|
}
|
||||||
WebLauncher.main(args);
|
WebLauncher.main(args);
|
||||||
}
|
}
|
||||||
|
@ -84,7 +84,7 @@ export class SSOService {
|
|||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
if (isNullOrUndefined(self.signUpEnable)) {
|
if (isNullOrUndefined(self.signUpEnable)) {
|
||||||
this.http.requestJson({
|
this.http.requestJson({
|
||||||
server: 'karauth',
|
server: 'karso',
|
||||||
endPoint: 'system_config/is_sign_up_availlable',
|
endPoint: 'system_config/is_sign_up_availlable',
|
||||||
requestType: HTTPRequestModel.GET,
|
requestType: HTTPRequestModel.GET,
|
||||||
accept: HTTPMimeType.JSON,
|
accept: HTTPMimeType.JSON,
|
||||||
|
@ -166,7 +166,7 @@ export class UserService {
|
|||||||
let self = this;
|
let self = this;
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
this.http.requestJson({
|
this.http.requestJson({
|
||||||
//server: 'karauth',
|
//server: 'karso',
|
||||||
endPoint: 'users/me',
|
endPoint: 'users/me',
|
||||||
requestType: HTTPRequestModel.GET,
|
requestType: HTTPRequestModel.GET,
|
||||||
accept: HTTPMimeType.JSON,
|
accept: HTTPMimeType.JSON,
|
||||||
@ -212,7 +212,7 @@ export class UserService {
|
|||||||
|
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
this.http.requestJson({
|
this.http.requestJson({
|
||||||
server: 'karauth',
|
server: 'karso',
|
||||||
endPoint: 'users',
|
endPoint: 'users',
|
||||||
requestType: HTTPRequestModel.POST,
|
requestType: HTTPRequestModel.POST,
|
||||||
accept: HTTPMimeType.JSON,
|
accept: HTTPMimeType.JSON,
|
||||||
|
@ -10,7 +10,7 @@ export const environment = {
|
|||||||
defaultServer: "karusic",
|
defaultServer: "karusic",
|
||||||
server: {
|
server: {
|
||||||
karusic: `${location.origin}/karusic/api`,
|
karusic: `${location.origin}/karusic/api`,
|
||||||
karauth: `${location.origin}/karauth/api`,
|
karso: `${location.origin}/karso/api`,
|
||||||
},
|
},
|
||||||
ssoSignIn: `${location.origin}/karso/signin/karusic/`,
|
ssoSignIn: `${location.origin}/karso/signin/karusic/`,
|
||||||
ssoSignUp: `${location.origin}/karso/signup/karusic/`,
|
ssoSignUp: `${location.origin}/karso/signup/karusic/`,
|
||||||
|
@ -10,7 +10,7 @@ const environment_back_prod = {
|
|||||||
defaultServer: "karusic",
|
defaultServer: "karusic",
|
||||||
server: {
|
server: {
|
||||||
karusic: 'http://192.168.1.156/karusic/api',
|
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/',
|
ssoSignIn: 'http://192.168.1.156/karso/signin/karusic-dev/',
|
||||||
ssoSignUp: 'http://192.168.1.156/karso/signup/karusic-dev/',
|
ssoSignUp: 'http://192.168.1.156/karso/signup/karusic-dev/',
|
||||||
@ -26,7 +26,7 @@ const environment_local = {
|
|||||||
defaultServer: "karusic",
|
defaultServer: "karusic",
|
||||||
server: {
|
server: {
|
||||||
karusic: 'http://localhost:19080/karusic/api',
|
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/',
|
ssoSignIn: 'http://192.168.1.156/karso/signin/karusic-dev/',
|
||||||
ssoSignUp: 'http://192.168.1.156/karso/signup/karusic-dev/',
|
ssoSignUp: 'http://192.168.1.156/karso/signup/karusic-dev/',
|
||||||
@ -42,7 +42,7 @@ const environment_full_local = {
|
|||||||
defaultServer: "karusic",
|
defaultServer: "karusic",
|
||||||
server: {
|
server: {
|
||||||
karusic: 'http://localhost:19080/karusic/api',
|
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/',
|
ssoSignIn: 'http://localhost:4200/signin/karusic-dev/',
|
||||||
ssoSignUp: 'http://localhost:4200/signup/karusic-dev/',
|
ssoSignUp: 'http://localhost:4200/signup/karusic-dev/',
|
||||||
@ -58,7 +58,7 @@ const environment_hybrid = {
|
|||||||
defaultServer: "karusic",
|
defaultServer: "karusic",
|
||||||
server: {
|
server: {
|
||||||
karusic: 'http://192.168.1.156/karusic/api',
|
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/',
|
ssoSignIn: 'http://localhost:4200/signin/karusic-dev/',
|
||||||
ssoSignUp: 'http://localhost:4200/signup/karusic-dev/',
|
ssoSignUp: 'http://localhost:4200/signup/karusic-dev/',
|
||||||
|
Loading…
Reference in New Issue
Block a user