Skip to content

Commit

Permalink
Merge pull request #1417 from Rubueno/indent
Browse files Browse the repository at this point in the history
Indentation fix for location template
  • Loading branch information
bastelfreak authored Oct 19, 2020
2 parents 57d93dd + 79fd696 commit b0b4e6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/server/locations/headers.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<%- if value -%>
<%- if value.is_a?(Hash) -%>
<%- value.each do |sk, sv| -%>
add_header "<%= header %>" <% if sk != '' %>"<%= sk %>"<% end %> <%= sv %>;
add_header "<%= header %>" <% if sk != '' %>"<%= sk %>"<% end %> <%= sv %>;
<%- end -%>
<%- else -%>
add_header "<%= header %>" "<%= value %>";
add_header "<%= header %>" "<%= value %>";
<%- end -%>
<%- end -%>
<%- end -%>

0 comments on commit b0b4e6b

Please sign in to comment.