introduce new IDHUB host vars, allow env vars

deprecate URL_IDHUB
This commit is contained in:
pedro 2024-04-02 14:05:02 +02:00
parent 7584595797
commit d8b0919352
1 changed files with 6 additions and 2 deletions

View File

@ -4,8 +4,12 @@ export const ADMIN_EMAIL = "idhub_admin@pangea.org"
export const ADMIN_K = "1234" export const ADMIN_K = "1234"
export const KO_ADMIN_K = "876" 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://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" //export const URL_IDHUB = "https://idhub1-nightly.demo.pangea.org"
//2fa enabled //2fa enabled