Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
webservices
Commits
8075bbbf
Commit
8075bbbf
authored
Aug 26, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
hedgedoc/templates/config.json.j2
View file @
8075bbbf
...
...
@@ -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 %}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment