1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-03-18 21:57:50 +02:00

removed no longer needed ui.DistIndexHTML var

This commit is contained in:
Gani Georgiev 2022-08-01 20:53:06 +03:00
parent 30d1b9f358
commit fbeaabf6aa

View File

@ -10,11 +10,5 @@ import (
//go:embed all:dist
var distDir embed.FS
//go:embed dist/index.html
var indexHTML embed.FS
// DistDirFS contains the embedded dist directory files (without the "dist" prefix)
var DistDirFS = echo.MustSubFS(distDir, "dist")
// DistIndexHTML contains the embedded dist/index.html file (without the "dist" prefix)
var DistIndexHTML = echo.MustSubFS(indexHTML, "dist")