mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-04-26 13:26:23 +02:00
rename Transform back to Options
This commit is contained in:
parent
402e2c7d83
commit
f6f757a75d
2 changed files with 8 additions and 8 deletions
|
|
@ -54,7 +54,7 @@ func NewRequest(r *http.Request) (*data.Request, error) {
|
|||
|
||||
// query string is always part of the remote URL
|
||||
req.URL.RawQuery = r.URL.RawQuery
|
||||
req.Transform, err = data.ParseTransform(path[1])
|
||||
req.Options, err = data.ParseOptions(path[1])
|
||||
if err != nil {
|
||||
return nil, URLError{err.Error(), r.URL}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue