combine hub and agent repos

This commit is contained in:
Henry Dollman
2024-07-20 17:10:34 -04:00
parent 0d2765a903
commit 47d1d9a9fa
97 changed files with 695 additions and 3 deletions

15
hub/site/embed.go Normal file
View File

@@ -0,0 +1,15 @@
// Package site handles the Beszel frontend embedding.
package site
import (
"embed"
"github.com/labstack/echo/v5"
)
//go:embed all:dist
var assets embed.FS
var Dist = echo.MustSubFS(assets, "dist")
var Static = echo.MustSubFS(assets, "dist/static")