Skip to content

Commit

Permalink
fix: opening pdf files
Browse files Browse the repository at this point in the history
Adds `blob:` as possible entry for `frame-src` to allow opening pdf files, since those are being embedded as a blob.
  • Loading branch information
JammingBen committed Jun 4, 2024
1 parent 722a837 commit 0317ae0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev/docker/ocis/csp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ directives:
- '''self'''
frame-src:
- '''self'''
- 'blob:'
- 'https://embed.diagrams.net/'
# In contrast to bash and docker the default is given after the | character
- 'https://${ONLYOFFICE_DOMAIN|host.docker.internal:9981}/'
Expand Down
1 change: 1 addition & 0 deletions tests/drone/csp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ directives:
- '''self'''
frame-src:
- '''self'''
- 'blob:'
- 'https://embed.diagrams.net/'
# In contrast to bash and docker the default is given after the | character
- 'https://${ONLYOFFICE_DOMAIN|onlyoffice:443}/'
Expand Down

0 comments on commit 0317ae0

Please sign in to comment.