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

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

* fix: added documentation (#2152)
This commit is contained in:
busy-panda🐼🐼 2024-05-22 15:49:31 +02:00 committed by GitHub
parent 71d4315ef0
commit 53ab9761f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,9 @@ const contentSecurityPolicy = [
"font-src 'self' https:", "font-src 'self' https:",
// this has been commented out to make oauth2 work // this has been commented out to make oauth2 work
// "form-action 'none'", // "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:", "media-src 'self' blob: data: https:",
"style-src 'self' 'unsafe-inline' https:" "style-src 'self' 'unsafe-inline' https:"
]; ];