indentation

This commit is contained in:
uumas
2023-05-09 21:39:50 +03:00
parent e4dcc74610
commit 25a5700b57

View File

@@ -29,11 +29,11 @@
{% elif location.type == 'redirect' %} {% elif location.type == 'redirect' %}
redir {{ location.redirect_target }}{{ '{uri}' if location.redirect_preserve_path }} {{ location.redirect_type }} redir {{ location.redirect_target }}{{ '{uri}' if location.redirect_preserve_path }} {{ location.redirect_type }}
{% elif location.type == 'respond' %} {% elif location.type == 'respond' %}
{% if location.respond_content_type == 'json' %} {% if location.respond_content_type == 'json' %}
respond `{{ location.respond_content | to_json }}` respond `{{ location.respond_content | to_json }}`
{% else %} {% else %}
respond `{{ location.respond_content }}` respond `{{ location.respond_content }}`
{% endif %} {% endif %}
{% endif %} {% endif %}
} }
{% endfor %} {% endfor %}