Skip to content

Commit

Permalink
fix: missed assignment [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Feb 22, 2023
1 parent 1b28e6a commit c08fdfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/common/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ func GetApiUrl(r *http.Request) string {
}
api = fmt.Sprintf("%s://%s", protocol, stdpath.Join(host, api))
}
strings.TrimSuffix(api, "/")
api = strings.TrimSuffix(api, "/")
return api
}

0 comments on commit c08fdfc

Please sign in to comment.