1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2024-12-03 03:18:56 +02:00
pocketbase/ui/embed.go
2022-08-01 20:53:06 +03:00

15 lines
302 B
Go

// 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")