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
|
||||
}
|
||||
}
|
||||
headers := &processingHeaders{}
|
||||
headers.Accept = r.Header.Get("Accept")
|
||||
headers.Width = r.Header.Get("Width")
|
||||
headers.ViewportWidth = r.Header.Get("Viewport-Width")
|
||||
|
||||
headers := &processingHeaders{
|
||||
Accept: r.Header.Get("Accept"),
|
||||
Width: r.Header.Get("Width"),
|
||||
ViewportWidth: r.Header.Get("Viewport-Width"),
|
||||
}
|
||||
|
||||
var imageURL string
|
||||
var po *processingOptions
|
||||
|
Loading…
Reference in New Issue
Block a user