mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-01-03 10:43:58 +02:00
Minor fix
This commit is contained in:
parent
a1a74450d1
commit
e1f3f4278b
@ -811,10 +811,12 @@ func parsePath(ctx context.Context, r *http.Request) (context.Context, error) {
|
|||||||
return ctx, err
|
return ctx, err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
headers := &processingHeaders{}
|
|
||||||
headers.Accept = r.Header.Get("Accept")
|
headers := &processingHeaders{
|
||||||
headers.Width = r.Header.Get("Width")
|
Accept: r.Header.Get("Accept"),
|
||||||
headers.ViewportWidth = r.Header.Get("Viewport-Width")
|
Width: r.Header.Get("Width"),
|
||||||
|
ViewportWidth: r.Header.Get("Viewport-Width"),
|
||||||
|
}
|
||||||
|
|
||||||
var imageURL string
|
var imageURL string
|
||||||
var po *processingOptions
|
var po *processingOptions
|
||||||
|
Loading…
Reference in New Issue
Block a user