From 7ef2f819a848b93da4ecc5544623be4f1e49c032 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 15 Jan 2024 07:56:37 -0500 Subject: [PATCH] fix: use GetHttpRouter --- api/s5.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/s5.go b/api/s5.go index c8f32ab..b9c2f7f 100644 --- a/api/s5.go +++ b/api/s5.go @@ -19,7 +19,7 @@ func NewS5() *S5API { func (s S5API) Initialize(portal interfaces.Portal, protocol interfaces.Protocol) error { s5protocol := protocol.(*protocols.S5Protocol) - registerProtocolSubdomain(portal, s5protocol.Node().Services().HTTP().GetHandler(), "s5") + registerProtocolSubdomain(portal, s5protocol.Node().Services().HTTP().GetHttpRouter(), "s5") return nil }