mirror of
https://codeberg.org/PLG-Development/PLG-MuDiCS
synced 2026-07-06 00:47:09 +00:00
chore(display): directly bundle htmx
for more independence and offline support
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package web
|
||||
|
||||
import (
|
||||
"embed"
|
||||
"io/fs"
|
||||
)
|
||||
|
||||
//go:embed all:static
|
||||
var staticDir embed.FS
|
||||
|
||||
// BuildDirFS contains the embedded dist directory files (without the "build" prefix)
|
||||
var StaticDirFS, _ = fs.Sub(staticDir, "static")
|
||||
Reference in New Issue
Block a user