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 }