-
So, I feel I've got alot to learn when it comes to CORS and Content Security Policy in general. I did already add the following line to my directus docker deployment: CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_ANCESTORS: "array:http://localhost:*,self" and if I try to access it from a local But now I wanted to start using vscode inside the devtools too, so I followed antfu information and deployed a vscode-server inside my wsl instance, and I'm running Refused to frame 'https://mydirectuswebsite.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'". How should I manage this? Where could I get more information (or docs) to learn a bit more about this topic and fix this error? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Oh, currently I'm still connecting to the node dev server inside the wsl with |
Beta Was this translation helpful? Give feedback.
-
@sandros94 Hey did you setup the CORS Policy on your directus server, as we mention in the documentation? |
Beta Was this translation helpful? Give feedback.
In reality this turned out to be caused by #184