Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions libs/common-utils/src/getIsSafeAppIframe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Comment thread
kernelwhisperer marked this conversation as resolved.
(origin) => new URL(origin).origin,
)

Expand Down
Loading