pool.psychoinformatics.de-ui/build.config.yaml

28 lines
1 KiB
YAML

# Documentation:
# - Build config: https://shacl-vue.psychoinformatics.de/build-configuration.html
# - Security options: https://shacl-vue.psychoinformatics.de/features-security.html
# The following specifies DOMpurify-specific configuration for html sanitization
# The current state is equal to the shacl-vue default, i.e. does not change default behaviour
DOMPURIFY:
WHOLE_DOCUMENT: true
USE_PROFILES:
html: true
svg: true
# Content Security Policy: here we specify fetch directives that control the locations from
# which certain resource types may be loaded; basically an "allowlist" approach
CSP_CONTENT:
# connect-src restricts the URLs which can be loaded using script interfaces
connect-src:
- "'self'"
- https://hub.psychoinformatics.de/
- https://pool.psychoinformatics.de/
- https://cerebra.fz-juelich.de/
- https://concepts.datalad.org/
# The secureFetch options below restrict the behaviour of the fetch API in shacl-vue
# FETCH:
# MAX_BYTES:
# TIMEOUT_MS:
# CONTENT_TYPES: