Skip to content

Commit

Permalink
bugfix(#2152): Docs not support "http" markdown image (#2171)
Browse files Browse the repository at this point in the history
* bugfix(#2152): Docs not support "http" markdown image

* fix: added documentation (#2152)
  • Loading branch information
end3rbyte authored May 22, 2024
1 parent 71d4315 commit 53ab976
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/bruno-electron/src/index.js
Original file line number Diff line number Diff line change
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:",
"media-src 'self' blob: data: https:",
"style-src 'self' 'unsafe-inline' https:"
];
Expand Down

0 comments on commit 53ab976

Please sign in to comment.