refactor: use htmx instead of dwn for vault client
This commit is contained in:
1 parent
7057332163
commit
0df3762f13
14 files changed
+53
-58
No files matched your search
@@ -15,8 +15,8 @@ import (
|
||||
"github.com/labstack/echo/v4"
|
||||
promise "github.com/nlepage/go-js-promise"
|
||||
"github.com/onsonr/sonr/nebula/pages"
|
||||
"github.com/onsonr/sonr/x/vault/client/dwn/middleware"
|
||||
"github.com/onsonr/sonr/x/vault/client/dwn/state"
|
||||
"github.com/onsonr/sonr/x/vault/client/htmx/middleware"
|
||||
"github.com/onsonr/sonr/x/vault/client/htmx/state"
|
||||
)
|
||||
|
||||
func main() {
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -2,7 +2,6 @@ package state
|
||||
|
||||
import (
|
||||
"github.com/labstack/echo/v4"
|
||||
middleware "github.com/onsonr/sonr/x/vault/client/dwn/middleware"
|
||||
)
|
||||
|
||||
func RegisterHandlers(e *echo.Echo) {
|
||||
@@ -15,8 +14,3 @@ func RegisterHandlers(e *echo.Echo) {
|
||||
g.POST("/register/:subject", handleCredentialCreation)
|
||||
g.POST("/register/:subject/check", checkSubjectIsValid)
|
||||
}
|
||||
|
||||
func RegisterSync(e *echo.Echo) {
|
||||
g := e.Group("sync")
|
||||
g.Use(middleware.MacaroonMiddleware("test", "test"))
|
||||
}
|
||||
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user