fix: use GetHttpRouter
This commit is contained in:
parent
908411f33f
commit
7ef2f819a8
|
@ -19,7 +19,7 @@ func NewS5() *S5API {
|
||||||
func (s S5API) Initialize(portal interfaces.Portal, protocol interfaces.Protocol) error {
|
func (s S5API) Initialize(portal interfaces.Portal, protocol interfaces.Protocol) error {
|
||||||
|
|
||||||
s5protocol := protocol.(*protocols.S5Protocol)
|
s5protocol := protocol.(*protocols.S5Protocol)
|
||||||
registerProtocolSubdomain(portal, s5protocol.Node().Services().HTTP().GetHandler(), "s5")
|
registerProtocolSubdomain(portal, s5protocol.Node().Services().HTTP().GetHttpRouter(), "s5")
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue