Fix/add unit tests; Styling changes
This commit is contained in:
parent
0e6f0bb88d
commit
0de19c8062
3 changed files with 66 additions and 24 deletions
|
|
@ -334,7 +334,7 @@ func buildLocation(input interface{}, rewrite bool) string {
|
|||
return fmt.Sprintf(`~* ^%s%s`, path, baseuri)
|
||||
}
|
||||
|
||||
if rewrite == true {
|
||||
if rewrite {
|
||||
if path == slash {
|
||||
return path
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue