|
|
|
@ -9,7 +9,7 @@ admin_password = """{{ matrix_grafana_default_admin_password }}"""
|
|
|
|
|
content_security_policy = "{{ matrix_grafana_content_security_policy }}"
|
|
|
|
|
|
|
|
|
|
# specify content security policy template to customized template
|
|
|
|
|
{% if matrix_synapse_metrics_enabled %}
|
|
|
|
|
{% if matrix_grafana_content_security_policy_customized %}
|
|
|
|
|
content_security_policy_template = """script-src http: https: 'unsafe-inline' 'unsafe-eval' 'strict-dynamic' $NONCE;object-src 'none';font-src 'self';style-src 'self' 'unsafe-inline';img-src 'self' data:;base-uri 'self';connect-src 'self' grafana.com;manifest-src 'self';media-src 'none';form-action 'self';"""
|
|
|
|
|
{% else %}
|
|
|
|
|
{% endif %}
|
|
|
|
|