1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2024-11-25 01:16:21 +02:00
pocketbase/ui/embed.go

15 lines
302 B
Go
Raw Normal View History

2022-07-06 23:19:05 +02:00
// 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)
2022-07-06 23:19:05 +02:00
var DistDirFS = echo.MustSubFS(distDir, "dist")