Preview Issues. (CSP related) [Directus Cloud]

For me, the live editing and previews are not working, seemingly because the directus professtional CSP is setting the following Content Security Policy directive: “frame-src https://*”.

Refused to frame ‘http://localhost:3000/’ because it violates the following Content Security Policy directive: “frame-src https://*”.

Any advice would be great!

Try setting it here

`CONTENT_SECURITY_POLICY_DIRECTIVES__IMG_SRC`

I’m copying this over from the docs:

Usage with Directus Cloud and local development Connecting your local development environment to a Directus Cloud Starter or Professional instance must be done by exposing your localhost to the web through an SSL secured connection. There are multiple ways to achieve this:

Source: https://directus.io/docs/guides/content/visual-editor/frontend-library

Added a feature request.