mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-04-26 13:26:23 +02:00
remove '=' from rotate option
This commit is contained in:
parent
ae66dd52b7
commit
a0d0260f5e
2 changed files with 4 additions and 4 deletions
|
|
@ -80,8 +80,8 @@ func ParseOptions(str string) *Options {
|
|||
continue
|
||||
}
|
||||
|
||||
if len(part) > 2 && strings.HasPrefix(part, "r=") {
|
||||
o.Rotate, _ = strconv.Atoi(part[2:])
|
||||
if len(part) > 2 && strings.HasPrefix(part, "r") {
|
||||
o.Rotate, _ = strconv.Atoi(part[1:])
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue