Skip to content
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

Can not use the embed component in cloud, get Content Security Policy directive: "object-src 'none'". #12131

Closed
sunzhuo opened this issue Oct 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@sunzhuo
Copy link

sunzhuo commented Oct 20, 2023

I am using budibase cloud and tring to embed a pdf in my app. If I use the embed component and set embed as

<embed src="https://somesite/test.pdf">

I got following error in the console.

Refused to load plugin data from 'https://mixwind-1.github.io/dummy.pdf' because it violates the following Content Security Policy directive: "object-src 'none'".

@sunzhuo sunzhuo added the bug Something isn't working label Oct 20, 2023
@mike12345567
Copy link
Collaborator

mike12345567 commented Oct 23, 2023

Hi @sunzhuo - I'm going to mark this as a duplicate of an existing issue: #9679

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants