mirror of
https://github.com/usual2970/certimate.git
synced 2025-07-24 11:57:58 +00:00
init
This commit is contained in:
14
ui/embed.go
Normal file
14
ui/embed.go
Normal file
@@ -0,0 +1,14 @@
|
||||
// Package ui handles the PocketBase Admin frontend embedding.
|
||||
package ui
|
||||
|
||||
import (
|
||||
"embed"
|
||||
|
||||
"github.com/labstack/echo/v5"
|
||||
)
|
||||
|
||||
//go:embed all:dist
|
||||
var distDir embed.FS
|
||||
|
||||
// DistDirFS contains the embedded dist directory files (without the "dist" prefix)
|
||||
var DistDirFS = echo.MustSubFS(distDir, "dist")
|
Reference in New Issue
Block a user