mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-11 20:03:58 +02:00
resources: Remove conditional used for debugging
This commit is contained in:
@@ -59,7 +59,7 @@ func responseToData(res *http.Response, readBody bool, includeHeaders []string)
|
||||
}
|
||||
|
||||
responseHeaders := make(map[string][]string)
|
||||
if true || len(includeHeaders) > 0 {
|
||||
if len(includeHeaders) > 0 {
|
||||
for k, v := range res.Header {
|
||||
if hstrings.InSlicEqualFold(includeHeaders, k) {
|
||||
responseHeaders[k] = v
|
||||
|
Reference in New Issue
Block a user