Skip to content

Commit

Permalink
Merge branch 'configurable-roles' into configurable-roles-e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
Zangetsu101 committed Jan 3, 2025
2 parents 22622a1 + b9a3f86 commit dab6a4d
Show file tree
Hide file tree
Showing 45 changed files with 2,016 additions and 364 deletions.
24 changes: 20 additions & 4 deletions e2e/constants.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
export const DOMAIN = process.env.DOMAIN || 'farajaland-dev.opencrvs.org'
export const LOGIN_URL = 'https://login.' + DOMAIN
export const AUTH_URL = 'https://auth.' + DOMAIN
export const CLIENT_URL = 'https://register.' + DOMAIN
export const GATEWAY_HOST = 'https://gateway.' + DOMAIN

export const LOGIN_URL =
process.env.NODE_ENV === 'development'
? 'http://localhost:3020'
: 'https://login.' + DOMAIN

export const AUTH_URL =
process.env.NODE_ENV === 'development'
? 'http://localhost:4040'
: 'https://auth.' + DOMAIN

export const CLIENT_URL =
process.env.NODE_ENV === 'development'
? 'http://localhost:3000'
: 'https://register.' + DOMAIN

export const GATEWAY_HOST =
process.env.NODE_ENV === 'development'
? 'http://localhost:7070'
: 'https://gateway.' + DOMAIN

/*
* This timeout is to ensure that all previous actions have been completed
Expand Down
Loading

0 comments on commit dab6a4d

Please sign in to comment.