embed frontend files

This commit is contained in:
Simon Ding
2024-07-07 12:19:38 +08:00
parent 198e5fd43d
commit edb95df582
18 changed files with 303 additions and 40 deletions

6
ui/embed.go Normal file
View File

@@ -0,0 +1,6 @@
package ui
import "embed"
//go:embed build/web/*
var Web embed.FS