ssr runner and more admin panel stuff

This commit is contained in:
Zoe
2024-09-30 00:40:54 -05:00
parent 66f8437351
commit c208e35e4c
27 changed files with 617 additions and 156 deletions

View File

@@ -7,8 +7,8 @@ import (
"github.com/labstack/echo/v4"
)
//go:embed all:.output/public
var distDir embed.FS
//go:embed all:.output
var DistDir embed.FS
// DistDirFS contains the embedded dist directory files (without the "dist" prefix)
var DistDirFS = echo.MustSubFS(distDir, ".output/public")
var DistDirFS = echo.MustSubFS(DistDir, ".output/")