Skip to content

Commit

Permalink
update whitelist urls
Browse files Browse the repository at this point in the history
  • Loading branch information
CreatedByBdr committed Oct 26, 2023
1 parent 0b69b39 commit 5e52370
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/netlify-cms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ jobs:
projectName: starknet-netlify-cms
directory: workspaces/netlify-cms/dist
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
branch: main
branch: ${{ github.ref_name }}
1 change: 1 addition & 0 deletions workspaces/netlify-cms-auth/src/callback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ function postMessageHTML({ status, data, env }: PostMessageHTMLArgs) {
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 === 'https://starknet-netlify-cms-byd.pages.dev' ||
message.origin === '${env.CMS_URL}'
);
Expand Down

0 comments on commit 5e52370

Please sign in to comment.