From 148873912f0b7a70c2764d376f471f37fb930f8a Mon Sep 17 00:00:00 2001 From: bgharbi Date: Thu, 26 Oct 2023 16:45:00 +0200 Subject: [PATCH] remove hard coded url - WIP --- workspaces/netlify-cms-auth/src/callback.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/workspaces/netlify-cms-auth/src/callback.ts b/workspaces/netlify-cms-auth/src/callback.ts index 8d52ba6b13..c2c2b51e87 100644 --- a/workspaces/netlify-cms-auth/src/callback.ts +++ b/workspaces/netlify-cms-auth/src/callback.ts @@ -66,7 +66,6 @@ function postMessageHTML({ status, data, env }: PostMessageHTMLArgs) { message.origin === 'http://localhost:1234' || message.origin === 'http://127.0.0.1:1234' || /^https:\\/\\/[-_\\w]+\\.starknet-netlify-cms\\.pages\\.dev$/.test(message.origin) || - /^https:\\/\\/[-_\\w]+\\.starknet-netlify-cms-byd\\.pages\\.dev$/.test(message.origin) || message.origin === '${env.CMS_URL}' );