Skip to content

Commit

Permalink
chore: ensure to specify targetOrigin on initial postMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvxd committed Dec 14, 2023
1 parent ba5a3b5 commit aa431b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/docs/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function DocsApp({ Component, pageProps }: AppProps) {
title: window.document.title,
};

window.parent.postMessage(message);
window.parent.postMessage(message, "https://puckeditor.com");

const handleRouteChange = (url) => {
const message: Message = {
Expand Down

1 comment on commit aa431b7

@vercel
Copy link

@vercel vercel bot commented on aa431b7 Dec 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.