Skip to content

Commit

Permalink
update csp.yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
PrajwolAmatya committed May 2, 2024
1 parent abc8543 commit ece4ef5
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions tests/drone/csp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ directives:
- '''self'''
connect-src:
- '''self'''
- 'https://${KEYCLOAK_DOMAIN:-keycloak:8443}/'
# In contrast to bash and docker the default is given after the | character
- 'https://${KEYCLOAK_DOMAIN|keycloak:8443}/'
default-src:
- '''none'''
font-src:
Expand All @@ -13,14 +14,16 @@ directives:
frame-src:
- '''self'''
- 'https://embed.diagrams.net/'
- 'https://${ONLYOFFICE_DOMAIN:-onlyoffice:443}/'
- 'https://${COLLABORA_DOMAIN:-collabora:9980}/'
# In contrast to bash and docker the default is given after the | character
- 'https://${ONLYOFFICE_DOMAIN|onlyoffice:443}/'
- 'https://${COLLABORA_DOMAIN|collabora:9980}/'
img-src:
- '''self'''
- 'data:'
- 'blob:'
- 'https://${ONLYOFFICE_DOMAIN:-onlyoffice:443}/'
- 'https://${COLLABORA_DOMAIN:-collabora:9980}/'
# In contrast to bash and docker the default is given after the | character
- 'https://${ONLYOFFICE_DOMAIN|onlyoffice:443}/'
- 'https://${COLLABORA_DOMAIN|collabora:9980}/'
manifest-src:
- '''self'''
media-src:
Expand Down

0 comments on commit ece4ef5

Please sign in to comment.