diff --git a/libs/common-utils/src/getIsSafeAppIframe.ts b/libs/common-utils/src/getIsSafeAppIframe.ts index 12581d5851..85076bf77c 100644 --- a/libs/common-utils/src/getIsSafeAppIframe.ts +++ b/libs/common-utils/src/getIsSafeAppIframe.ts @@ -8,8 +8,9 @@ const SAFE_APP_PREVIEW_URLS = [ 'https://safe-wallet-web.staging.5afe.dev', // Safe's staging env ] const SAFE_APP_PREVIEW_HOST_SUFFIX = '.review.5afe.dev' // Safe's per-PR review env -const SAFE_APP_LOCAL_URL = 'http://localhost:4003' -const SAFE_SUPPORTED_ORIGINS = [SAFE_APP_ORIGIN, ...SAFE_APP_PREVIEW_URLS, SAFE_APP_LOCAL_URL].map( +const SAFE_APP_LOCAL_URL1 = 'http://localhost:4003' +const SAFE_APP_LOCAL_URL2 = 'http://localhost:8080' +const SAFE_SUPPORTED_ORIGINS = [SAFE_APP_ORIGIN, ...SAFE_APP_PREVIEW_URLS, SAFE_APP_LOCAL_URL1, SAFE_APP_LOCAL_URL2].map( (origin) => new URL(origin).origin, )