mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 10:21:40 +00:00
refactor: move Wasm related code to pkg/common/wasm
This commit is contained in:
@@ -8,10 +8,10 @@ import (
|
||||
"github.com/labstack/echo/v4"
|
||||
|
||||
"github.com/onsonr/sonr/internal/vault/context"
|
||||
"github.com/onsonr/sonr/internal/vault/types"
|
||||
"github.com/onsonr/sonr/pkg/config/motr"
|
||||
)
|
||||
|
||||
// RegisterRoutes registers the Decentralized Web Node API routes.
|
||||
func RegisterRoutes(e *echo.Echo, config *types.Config) {
|
||||
func RegisterRoutes(e *echo.Echo, config *motr.Config) {
|
||||
e.Use(context.Middleware(config))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user