get rid of this {% else %}

development
sakkiii 4 years ago
parent 0d5fe2d9f7
commit 9174448e5e

@ -11,7 +11,6 @@ content_security_policy = "{{ matrix_grafana_content_security_policy }}"
# specify content security policy template to customized template # specify content security policy template to customized template
{% if matrix_grafana_content_security_policy_customized %} {% 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';""" 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 %} {% endif %}
[auth.anonymous] [auth.anonymous]

Loading…
Cancel
Save