mirror of
https://github.com/pocketbase/pocketbase.git
synced 2024-12-03 03:18:56 +02:00
15 lines
302 B
Go
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")
|