mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 09:51:39 +00:00
* refactor: remove indexedDB dependency and replace with browser filesystem * refactor: remove unused layout templating from global block * feat: add support for building from source * feat: add Credential creation and retrieval via Dexie database * feat: add breadcrumbs component
21 lines
408 B
Go
21 lines
408 B
Go
//go:build js && wasm
|
|
// +build js,wasm
|
|
|
|
package main
|
|
|
|
import (
|
|
"github.com/labstack/echo/v4"
|
|
"github.com/onsonr/sonr/internal/dwn/front"
|
|
"github.com/onsonr/sonr/internal/dwn/handlers"
|
|
"github.com/onsonr/sonr/internal/dwn/middleware"
|
|
"github.com/onsonr/sonr/internal/vfs"
|
|
)
|
|
|
|
func main() {
|
|
e := echo.New()
|
|
e.Use(middleware.UseSession)
|
|
front.RegisterViews(e)
|
|
handlers.RegisterState(e)
|
|
vfs.Serve(e)
|
|
}
|