Merge pull request #1272 from danielqsj/delete-useless-statement

Delete useless statement
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-08-30 18:04:35 -04:00 committed by GitHub
commit 58c94d40e4

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