mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
builds/mmi: Set default value for MMI_CONFIGURATION_SERVICE_URL
to production endpoint (#19955)
* builds: set MMI_CONFIGURATION_SERVICE_URL default to prod endpoint (rf #19899) * development/build: add MMI_CONFIGURATION_SERVICE_URL to required prod parameters
This commit is contained in:
parent
1ea934165b
commit
614904d362
@ -87,9 +87,9 @@ buildTypes:
|
|||||||
- SEGMENT_MMI_WRITE_KEY
|
- SEGMENT_MMI_WRITE_KEY
|
||||||
- INFURA_ENV_KEY_REF: INFURA_MMI_PROJECT_ID
|
- INFURA_ENV_KEY_REF: INFURA_MMI_PROJECT_ID
|
||||||
- SEGMENT_WRITE_KEY_REF: SEGMENT_MMI_WRITE_KEY
|
- SEGMENT_WRITE_KEY_REF: SEGMENT_MMI_WRITE_KEY
|
||||||
|
- MMI_CONFIGURATION_SERVICE_URL: https://configuration.metamask-institutional.io/v1/configuration/default
|
||||||
- SUPPORT_LINK: https://mmi-support.zendesk.com/hc/en-us
|
- SUPPORT_LINK: https://mmi-support.zendesk.com/hc/en-us
|
||||||
- SUPPORT_REQUEST_LINK: https://mmi-support.zendesk.com/hc/en-us/requests/new
|
- SUPPORT_REQUEST_LINK: https://mmi-support.zendesk.com/hc/en-us/requests/new
|
||||||
- MMI_CONFIGURATION_SERVICE_URL: ''
|
|
||||||
# For some reason, MMI uses this type of versioning
|
# For some reason, MMI uses this type of versioning
|
||||||
# Leaving it on for backwards compatibility
|
# Leaving it on for backwards compatibility
|
||||||
isPrerelease: true
|
isPrerelease: true
|
||||||
|
@ -11,7 +11,12 @@ const VARIABLES_REQUIRED_IN_PRODUCTION = {
|
|||||||
main: ['INFURA_PROD_PROJECT_ID', 'SEGMENT_PROD_WRITE_KEY', 'SENTRY_DSN'],
|
main: ['INFURA_PROD_PROJECT_ID', 'SEGMENT_PROD_WRITE_KEY', 'SENTRY_DSN'],
|
||||||
beta: ['INFURA_BETA_PROJECT_ID', 'SEGMENT_BETA_WRITE_KEY', 'SENTRY_DSN'],
|
beta: ['INFURA_BETA_PROJECT_ID', 'SEGMENT_BETA_WRITE_KEY', 'SENTRY_DSN'],
|
||||||
flask: ['INFURA_FLASK_PROJECT_ID', 'SEGMENT_FLASK_WRITE_KEY', 'SENTRY_DSN'],
|
flask: ['INFURA_FLASK_PROJECT_ID', 'SEGMENT_FLASK_WRITE_KEY', 'SENTRY_DSN'],
|
||||||
mmi: ['INFURA_MMI_PROJECT_ID', 'SEGMENT_MMI_WRITE_KEY', 'SENTRY_DSN'],
|
mmi: [
|
||||||
|
'INFURA_MMI_PROJECT_ID',
|
||||||
|
'MMI_CONFIGURATION_SERVICE_URL',
|
||||||
|
'SEGMENT_MMI_WRITE_KEY',
|
||||||
|
'SENTRY_DSN',
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
async function fromIniFile(filepath) {
|
async function fromIniFile(filepath) {
|
||||||
|
Loading…
Reference in New Issue
Block a user