Delete useless statement
This commit is contained in:
parent
2d6f811151
commit
493aede7fe
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ func buildProxyPass(host string, b interface{}, loc interface{}) string {
|
||||||
return defProxyPass
|
return defProxyPass
|
||||||
}
|
}
|
||||||
|
|
||||||
if path != slash && !strings.HasSuffix(path, slash) {
|
if !strings.HasSuffix(path, slash) {
|
||||||
path = fmt.Sprintf("%s/", path)
|
path = fmt.Sprintf("%s/", path)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue