1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-02-04 10:09:21 +02:00
pocketbase/ui/embed.go

14 lines
278 B
Go
Raw Normal View History

2024-09-29 19:23:19 +03:00
// Package ui handles the PocketBase Superuser frontend embedding.
2022-07-07 00:19:05 +03:00
package ui
import (
"embed"
2024-09-29 19:23:19 +03:00
"io/fs"
2022-07-07 00:19:05 +03:00
)
//go:embed all:dist
var distDir embed.FS
// DistDirFS contains the embedded dist directory files (without the "dist" prefix)
2024-09-29 19:23:19 +03:00
var DistDirFS, _ = fs.Sub(distDir, "dist")