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

bugfix(#2152): Docs not support "http" markdown image #2171

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion packages/bruno-electron/src/index.js
Expand Up @@ -24,7 +24,9 @@ const contentSecurityPolicy = [
"font-src 'self' https:",
// this has been commented out to make oauth2 work
// "form-action 'none'",
"img-src 'self' blob: data: https:",
// we make an exception and allow http for images so that
// they can be used as link in the embedded markdown editors
"img-src 'self' blob: data: http: https:",
busy-panda marked this conversation as resolved.
Show resolved Hide resolved
"media-src 'self' blob: data: https:",
"style-src 'self' 'unsafe-inline' https:"
];
Expand Down