-
Notifications
You must be signed in to change notification settings - Fork 63
Add clarification on pre-requisites for setting up live preview #467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Nitwel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. Rephrased some sentences to make them clearer but other than that this looks good to go to me. 👍
|
|
||
| ## Live Preview Pre-Requisites | ||
|
|
||
| Before setting up live preview, ensure your Directus instance can embed external content. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Before setting up live preview, ensure your Directus instance can embed external content. | |
| Before setting up live preview, ensure your Directus instance can embed external content by configuring the content security policy headers as described below. |
|
|
||
| **Required Environment Variable** | ||
|
|
||
| Your website will not be able to speak to your Directus instance if you do not set `CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC="<your-website-base-url>"` within your instances env. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Your website will not be able to speak to your Directus instance if you do not set `CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC="<your-website-base-url>"` within your instances env. | |
| Your website will not be able to be rendered in your Directus instance if you do not set `CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC="<your-website-base-url>"` within your instances env. |
No description provided.