-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
…2403-resolve-on-l2
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export const COOKIE_ID_MARKETING_WHITELIST = [ | ||
'https://metamask.io', | ||
'https://learn.metamask.io', | ||
'https://mmi-support.zendesk.com', | ||
'https://community.metamask.io', | ||
'https://support.metamask.io', | ||
]; | ||
|
||
if (process.env.IN_TEST) { | ||
COOKIE_ID_MARKETING_WHITELIST.push('http://127.0.0.1:8080'); | ||
} | ||
|
||
// Extract the origin of each URL in the whitelist | ||
export const COOKIE_ID_MARKETING_WHITELIST_ORIGINS = | ||
COOKIE_ID_MARKETING_WHITELIST.map((url) => new URL(url).origin); |