fix: use GetHttpRouter

This commit is contained in:
Derrick Hammer 2024-01-15 07:56:37 -05:00
parent 908411f33f
commit 7ef2f819a8
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -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
}