mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 18:01:39 +00:00
18 lines
339 B
Go
18 lines
339 B
Go
package routes
|
|||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/labstack/echo/v4"
|
||
|
|
|
||
|
|
"github.com/onsonr/sonr/nebula/components/auth"
|
||
|
|
"github.com/onsonr/sonr/nebula/components/home"
|
||
|
|
)
|
||
|
|
|
||
|
|
func RegisterProxyAPI(e *echo.Echo) {
|
||
|
|
}
|
||
|
|
|
||
|
|
func RegisterProxyViews(e *echo.Echo) {
|
||
|
|
e.GET("/", home.Route)
|
||
|
|
e.GET("/login", auth.LoginRoute)
|
||
|
|
e.GET("/register", auth.RegisterRoute)
|
||
|
|
}
|