mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
feat: nebula assets served from CDN
This commit is contained in:
@@ -5,6 +5,7 @@ package main
|
||||
import (
|
||||
"github.com/labstack/echo/v4"
|
||||
"github.com/onsonr/sonr/internal/ctx"
|
||||
"github.com/onsonr/sonr/pkg/nebula"
|
||||
"github.com/onsonr/sonr/pkg/nebula/routes"
|
||||
"github.com/syumai/workers"
|
||||
)
|
||||
@@ -12,6 +13,7 @@ import (
|
||||
func main() {
|
||||
s := echo.New()
|
||||
s.Use(ctx.UseSession)
|
||||
nebula.UseAssets(s)
|
||||
s.GET("/", routes.Home)
|
||||
s.GET("/login", routes.LoginStart)
|
||||
s.GET("/register", routes.RegisterStart)
|
||||
|
||||
Reference in New Issue
Block a user