Skip to content
Snippets Groups Projects
Commit 8075bbbf authored by Thomas Schneider's avatar Thomas Schneider
Browse files

hedgedoc: Use to_nice_json in config.json template

parent ce18a5e7
No related branches found
No related tags found
1 merge request!24Hedgedoc
Pipeline #3285 passed
......@@ -13,10 +13,10 @@
{% if hedgedoc_cookiePolicy is defined %}
"cookiePolicy": "{{ hedgedoc_cookiePolicy }}",
{% endif %}
"db": {{ hedgedoc_db|to_json }}
"db": {{ hedgedoc_db|to_nice_json|indent(8, false) }}
{% if hedgedoc_extra_config is defined -%}
{% for k, v in hedgedoc_extra_config.items() %}
, "{{ k }}": {{ v|to_json }}
, "{{ k }}": {{ v|to_nice_json|indent(8, false) }}
{% endfor %}
{%- endif %}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment