indentation
This commit is contained in:
@@ -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 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user