diff --git a/CHANGELOG.md b/CHANGELOG.md index 54274ff56..aa10acf3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,8 @@ Ref: https://keepachangelog.com/en/1.0.0/ * (modules) [\#5572](https://github.com/cosmos/cosmos-sdk/pull/5572) The `/bank/balances/{address}` endpoint now returns all account balances or a single balance by denom when the `denom` query parameter is present. +* (client) [\#5640](https://github.com/cosmos/cosmos-sdk/pull/5640) The rest server endpoint `/swagger-ui/` is replaced by +´/´. ### API Breaking Changes diff --git a/client/lcd/root.go b/client/lcd/root.go index af0e74b48..12697944c 100644 --- a/client/lcd/root.go +++ b/client/lcd/root.go @@ -105,5 +105,5 @@ func (rs *RestServer) registerSwaggerUI() { panic(err) } staticServer := http.FileServer(statikFS) - rs.Mux.PathPrefix("/swagger-ui/").Handler(http.StripPrefix("/swagger-ui/", staticServer)) + rs.Mux.PathPrefix("/").Handler(staticServer) }