Skip to content

Commit

Permalink
[sitecore-jss-nextjs] Cleanup default origins for editing (#1877)
Browse files Browse the repository at this point in the history
(cherry picked from commit b77a5c0)
  • Loading branch information
art-alexeyenko committed Aug 15, 2024
1 parent 3c95bd6 commit 9833624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sitecore-jss-nextjs/src/editing/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export const EDITING_PASS_THROUGH_HEADERS = ['authorization', 'cookie'];
/**
* Default allowed origins for editing requests. This is used to enforce CORS, CSP headers.
*/
export const EDITING_ALLOWED_ORIGINS = ['https://pages*.cloud', 'https://pages.sitecorecloud.io'];
export const EDITING_ALLOWED_ORIGINS = ['https://pages.sitecorecloud.io'];

0 comments on commit 9833624

Please sign in to comment.