diff --git a/workspaces/netlify-cms-auth/src/callback.ts b/workspaces/netlify-cms-auth/src/callback.ts index 3c4023aa50..80155e9d2b 100644 --- a/workspaces/netlify-cms-auth/src/callback.ts +++ b/workspaces/netlify-cms-auth/src/callback.ts @@ -62,8 +62,7 @@ function postMessageHTML({ status, data }: PostMessageHTMLArgs) { const allowedOrigin = ( message.origin === 'http://localhost:1234' || message.origin === 'http://127.0.0.1:1234' || - message.origin === 'https://0745c69e.starknet-netlify-cms-byd.pages.dev' || - /^https:\\/\\/[-_\\w]+\\.starknet-netlify-cms\\.pages\\.dev$/.test(message.origin) + /^https:\\\\/\\\\/[-_\\\\w]+\\\\.starknet-netlify-cms\\\\.pages\\\\.dev$/.test(message.origin) ); if (!allowedOrigin) return;