Commit 8075bbbf authored by Thomas Schneider's avatar Thomas Schneider
Browse files

hedgedoc: Use to_nice_json in config.json template

parent ce18a5e7
Pipeline #3285 passed with stage
in 1 minute and 26 seconds
......@@ -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 %}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment