fix: bad http verb

This commit is contained in:
Derrick Hammer 2024-01-17 17:02:39 -05:00
parent 3009e1dce3
commit 3e76519091
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ func (h *HTTPImpl) GetHttpRouter(inject map[string]jape.Handler) *httprouter.Rou
routes := map[string]jape.Handler{ routes := map[string]jape.Handler{
"GET /s5/version": h.versionHandler, "GET /s5/version": h.versionHandler,
"GET /s5/p2p": h.p2pHandler, "GET /s5/p2p": h.p2pHandler,
"Get /s5/p2p/nodes": h.p2pNodesHandler, "GET /s5/p2p/nodes": h.p2pNodesHandler,
} }
for k, v := range inject { for k, v := range inject {