merge v0.23.0-rc changes
This commit is contained in:
+3
-4
@@ -1,14 +1,13 @@
|
||||
// Package ui handles the PocketBase Admin frontend embedding.
|
||||
// Package ui handles the PocketBase Superuser frontend embedding.
|
||||
package ui
|
||||
|
||||
import (
|
||||
"embed"
|
||||
|
||||
"github.com/labstack/echo/v5"
|
||||
"io/fs"
|
||||
)
|
||||
|
||||
//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")
|
||||
var DistDirFS, _ = fs.Sub(distDir, "dist")
|
||||
|
||||
Reference in New Issue
Block a user