fix issues

This commit is contained in:
Rogee
2024-09-21 13:52:47 +08:00
parent 5aecfe6379
commit f8a7e87965
13 changed files with 156 additions and 51 deletions

18
frontend/dist.go Normal file
View File

@@ -0,0 +1,18 @@
package frontend
import "embed"
// embedded files
//
//go:embed dist/assets/*
var StaticDist embed.FS
// embedded dist/favicon.ico
//
//go:embed dist/favicon.ico
var Favicon []byte
// embedded dist/index.html
//
//go:embed dist/index.html
var IndexPage string