Skip to content

Commit

Permalink
feat: add LoginStart and RegisterStart routes
Browse files Browse the repository at this point in the history
  • Loading branch information
prnk28 committed Oct 7, 2024
1 parent 2d5cb7e commit b633d21
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/hway/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/onsonr/sonr/internal/session"
"github.com/onsonr/sonr/pkg/nebula"
"github.com/onsonr/sonr/pkg/nebula/router"
"github.com/onsonr/sonr/pkg/nebula/routes"
)

type Server struct {
Expand All @@ -25,9 +25,9 @@ func New() *Server {
s.Logger.Fatal(err)
}

s.GET("/", router.Home)
s.GET("/login", router.Login)
s.GET("/register", router.Register)
s.GET("/", routes.Home)
s.GET("/login", routes.LoginStart)
s.GET("/register", routes.RegisterStart)
// s.GET("/profile", router.Profile)
// s.GET("/authorize", router.Authorize)
return s
Expand Down

0 comments on commit b633d21

Please sign in to comment.