Delete useless statement

This commit is contained in:
danielqsj 2017-08-30 17:03:50 +08:00
parent 2d6f811151
commit 493aede7fe

View file

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