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