swarm/api/http: bzz-immutable wrong handler bug (#17602)

This commit is contained in:
Elad
2018-09-07 15:23:29 +02:00
committed by Balint Gabor
parent 70d31fb278
commit 8b9b149d54
2 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ func NewServer(api *api.API, corsString string) *Server {
})
mux.Handle("/bzz-immutable:/", methodHandler{
"GET": Adapt(
http.HandlerFunc(server.HandleGet),
http.HandlerFunc(server.HandleBzzGet),
defaultMiddlewares...,
),
})