Fix/add unit tests; Styling changes

This commit is contained in:
Zenara Daley 2018-09-14 15:07:57 -04:00
parent 0e6f0bb88d
commit 0de19c8062
3 changed files with 66 additions and 24 deletions

View file

@ -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
}