Skip to content

Commit

Permalink
remove hard coded url - WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
CreatedByBdr committed Oct 26, 2023
1 parent 05ebab6 commit 1488739
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion workspaces/netlify-cms-auth/src/callback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}'
);
Expand Down

0 comments on commit 1488739

Please sign in to comment.