From 9c5df14280e16c36084ba5df85b0a295ac5be647 Mon Sep 17 00:00:00 2001 From: bgharbi Date: Thu, 14 Sep 2023 23:49:37 +0200 Subject: [PATCH] update cloudflare pages name -- migration (add callback whitelist) WIP --- workspaces/netlify-cms-auth/src/callback.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspaces/netlify-cms-auth/src/callback.ts b/workspaces/netlify-cms-auth/src/callback.ts index d0f924946e..3c4023aa50 100644 --- a/workspaces/netlify-cms-auth/src/callback.ts +++ b/workspaces/netlify-cms-auth/src/callback.ts @@ -62,7 +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://netlify-cms-auth.haim-6b2.workers.dev' || + message.origin === 'https://0745c69e.starknet-netlify-cms-byd.pages.dev' || /^https:\\/\\/[-_\\w]+\\.starknet-netlify-cms\\.pages\\.dev$/.test(message.origin) );