|
|
@ -154,9 +154,9 @@ export const BASE_SIMPRO_V2 = "https://oslog.id/simpro-api/v2"; |
|
|
|
export const BASE_SIMPRO_LUMENNIAGA = "https://ospro-api.odm-iu.com/api"; |
|
|
|
export const BASE_SIMPRO_LUMENNIAGA = "https://ospro-api.odm-iu.com/api"; |
|
|
|
|
|
|
|
|
|
|
|
export let BASE_OSPRO = "https://ospro-api.ospro.id"; |
|
|
|
export let BASE_OSPRO = "https://ospro-api.ospro.id"; |
|
|
|
export let BASE_SIMPRO_LUMEN = `${BASE_OSPRO}/api`;
|
|
|
|
export let BASE_SIMPRO_LUMEN = `${BASE_OSPRO}/api`; |
|
|
|
// for warna host config
|
|
|
|
// for warna host config
|
|
|
|
export let BASE_SIMPRO_LUMEN_IMAGE = `${BASE_OSPRO}/assets/image`;
|
|
|
|
export let BASE_SIMPRO_LUMEN_IMAGE = `${BASE_OSPRO}/assets/image`; |
|
|
|
export let BASE_SIMPRO_LUMEN_FILE = `${BASE_OSPRO}/assets/file/project`; |
|
|
|
export let BASE_SIMPRO_LUMEN_FILE = `${BASE_OSPRO}/assets/file/project`; |
|
|
|
|
|
|
|
|
|
|
|
switch (APP_MODE) { |
|
|
|
switch (APP_MODE) { |
|
|
@ -166,15 +166,15 @@ switch (APP_MODE) { |
|
|
|
|
|
|
|
|
|
|
|
//for KIT server
|
|
|
|
//for KIT server
|
|
|
|
// BASE_SIMPRO_LUMEN = `${BASE_OSPRO}/api`;
|
|
|
|
// BASE_SIMPRO_LUMEN = `${BASE_OSPRO}/api`;
|
|
|
|
// BASE_SIMPRO_LUMEN_IMAGE = `${BASE_SIMPRO_LUMEN}/assets/image`;
|
|
|
|
// BASE_SIMPRO_LUMEN_IMAGE = `${BASE_SIMPRO_LUMEN}/assets/image`;
|
|
|
|
// BASE_SIMPRO_LUMEN_FILE = `${BASE_SIMPRO_LUMEN}/assets/file/project`;
|
|
|
|
// BASE_SIMPRO_LUMEN_FILE = `${BASE_SIMPRO_LUMEN}/assets/file/project`;
|
|
|
|
|
|
|
|
|
|
|
|
break; |
|
|
|
break; |
|
|
|
case 'ADW': |
|
|
|
case 'ADW': |
|
|
|
BASE_OSPRO = "https://ospro-api.ospro.id" |
|
|
|
BASE_OSPRO = "https://api-staging-adw.ospro.id" |
|
|
|
|
|
|
|
|
|
|
|
BASE_SIMPRO_LUMEN = `${BASE_OSPRO}/api`; |
|
|
|
BASE_SIMPRO_LUMEN = `${BASE_OSPRO}/api`; |
|
|
|
BASE_SIMPRO_LUMEN_IMAGE = `${BASE_OSPRO}/assets/image`;
|
|
|
|
BASE_SIMPRO_LUMEN_IMAGE = `${BASE_OSPRO}/assets/image`; |
|
|
|
BASE_SIMPRO_LUMEN_FILE = `${BASE_OSPRO}/assets/file/project`; |
|
|
|
BASE_SIMPRO_LUMEN_FILE = `${BASE_OSPRO}/assets/file/project`; |
|
|
|
|
|
|
|
|
|
|
|
break; |
|
|
|
break; |
|
|
@ -182,7 +182,7 @@ switch (APP_MODE) { |
|
|
|
BASE_OSPRO = "https://api-iu.ospro.id" |
|
|
|
BASE_OSPRO = "https://api-iu.ospro.id" |
|
|
|
|
|
|
|
|
|
|
|
BASE_SIMPRO_LUMEN = `${BASE_OSPRO}/api`; |
|
|
|
BASE_SIMPRO_LUMEN = `${BASE_OSPRO}/api`; |
|
|
|
BASE_SIMPRO_LUMEN_IMAGE = `${BASE_OSPRO}/assets/image`;
|
|
|
|
BASE_SIMPRO_LUMEN_IMAGE = `${BASE_OSPRO}/assets/image`; |
|
|
|
BASE_SIMPRO_LUMEN_FILE = `${BASE_OSPRO}/assets/file/project`; |
|
|
|
BASE_SIMPRO_LUMEN_FILE = `${BASE_OSPRO}/assets/file/project`; |
|
|
|
|
|
|
|
|
|
|
|
break; |
|
|
|
break; |
|
|
@ -201,7 +201,7 @@ switch (APP_MODE) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//for KIT server
|
|
|
|
//for KIT server
|
|
|
|
// export const BASE_SIMPRO_LUMEN_IMAGE = `${BASE_SIMPRO_LUMEN}/assets/image`;
|
|
|
|
// export const BASE_SIMPRO_LUMEN_IMAGE = `${BASE_SIMPRO_LUMEN}/assets/image`;
|
|
|
|
// export const BASE_SIMPRO_LUMEN_FILE = `${BASE_SIMPRO_LUMEN}/assets/file/project`;
|
|
|
|
// export const BASE_SIMPRO_LUMEN_FILE = `${BASE_SIMPRO_LUMEN}/assets/file/project`;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|