mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-02-04 02:04:08 +02:00
14 lines
278 B
Go
14 lines
278 B
Go
// Package ui handles the PocketBase Superuser frontend embedding.
|
|
package ui
|
|
|
|
import (
|
|
"embed"
|
|
"io/fs"
|
|
)
|
|
|
|
//go:embed all:dist
|
|
var distDir embed.FS
|
|
|
|
// DistDirFS contains the embedded dist directory files (without the "dist" prefix)
|
|
var DistDirFS, _ = fs.Sub(distDir, "dist")
|