-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MDS-5895] Setting report email links with right env (#3038)
* fixing email view button urls * adding other environment urls for report email links * changing conditional to not set url as test env in prod * made retrieval of environment url into a function
- Loading branch information
Showing
12 changed files
with
50 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,10 +117,24 @@ class Config(object): | |
NRIS_USER_NAME = os.environ.get('NRIS_USER_NAME', None) | ||
NRIS_PASS = os.environ.get('NRIS_PASS', None) | ||
ENVIRONMENT_NAME = os.environ.get('ENVIRONMENT_NAME', 'dev') | ||
CORE_PRODUCTION_URL = os.environ.get('CORE_PRODUCTION_URL', | ||
CORE_PROD_URL = os.environ.get('CORE_PRODUCTION_URL', | ||
'https://minesdigitalservices.gov.bc.ca') | ||
MINESPACE_PRODUCTION_URL = os.environ.get('MINESPACE_PRODUCTION_URL', | ||
CORE_TEST_URL = os.environ.get('CORE_TEST_URL', | ||
'https://mds-test.apps.silver.devops.gov.bc.ca') | ||
CORE_DEV_URL = os.environ.get('CORE_DEV_URL', | ||
'https://mds-dev.apps.silver.devops.gov.bc.ca') | ||
CORE_LOCAL_URL = os.environ.get('CORE_LOCAL_URL', | ||
'http://localhost:3000') | ||
|
||
MINESPACE_PROD_URL = os.environ.get('MINESPACE_PRODUCTION_URL', | ||
'https://minespace.gov.bc.ca') | ||
MINESPACE_TEST_URL = os.environ.get('MINESPACE_TEST_URL', | ||
'https://minespace-test.apps.silver.devops.gov.bc.ca') | ||
MINESPACE_DEV_URL = os.environ.get('MINESPACE_DEV_URL', | ||
'https://minespace-dev.apps.silver.devops.gov.bc.ca') | ||
MINESPACE_LOCAL_URL = os.environ.get('MINESPACE_LOCAL_URL', | ||
'http://localhost:3020') | ||
|
||
MDS_NO_REPLY_EMAIL = os.environ.get('MDS_NO_REPLY_EMAIL', '[email protected]') | ||
MDS_EMAIL = os.environ.get('MDS_EMAIL', '[email protected]') | ||
MAJOR_MINES_OFFICE_EMAIL = os.environ.get('MAJOR_MINES_OFFICE_EMAIL', '[email protected]') | ||
|