introduce new IDHUB host vars, allow env vars
deprecate URL_IDHUB
This commit is contained in:
parent
7584595797
commit
d8b0919352
|
@ -4,8 +4,12 @@ export const ADMIN_EMAIL = "idhub_admin@pangea.org"
|
|||
export const ADMIN_K = "1234"
|
||||
export const KO_ADMIN_K = "876"
|
||||
|
||||
export const IDHUB_WALLET = process.env.IDHUB_WALLET || "https://idhub1-autotest.demo.pangea.org"
|
||||
export const IDHUB_VERIFIER = process.env.IDHUB_VERIFIER || "https://idhub2-autotest.demo.pangea.org"
|
||||
// TODO deprecate URL_IDHUB var
|
||||
export const URL_IDHUB = IDHUB_WALLET
|
||||
//export const URL_IDHUB = "https://idhub-autotest.demo.pangea.org"
|
||||
export const URL_IDHUB = "https://idhub1-autotest.demo.pangea.org"
|
||||
//export const URL_IDHUB = "https://idhub1-autotest.demo.pangea.org"
|
||||
//export const URL_IDHUB = "https://idhub1-nightly.demo.pangea.org"
|
||||
|
||||
//2fa enabled
|
||||
|
@ -22,4 +26,4 @@ export const USER_K = "1234"
|
|||
export const KO_USER_K = "876"
|
||||
|
||||
export const URL_PASS_RESET = URL_IDHUB + "/auth/password_reset/"
|
||||
export const URL_SCHEMAS = URL_IDHUB + "/admin/schemas/"
|
||||
export const URL_SCHEMAS = URL_IDHUB + "/admin/schemas/"
|
||||
|
|
Reference in New Issue