feat: vite

This commit is contained in:
CaIon
2024-03-23 19:09:09 +08:00
parent a500097b36
commit 93be61aaf3
8 changed files with 73 additions and 12 deletions

View File

@@ -20,10 +20,10 @@ import (
_ "net/http/pprof"
)
//go:embed web/build
//go:embed web/dist
var buildFS embed.FS
//go:embed web/build/index.html
//go:embed web/dist/index.html
var indexPage []byte
func main() {