fix issues
This commit is contained in:
18
frontend/dist.go
Normal file
18
frontend/dist.go
Normal 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
|
||||
Reference in New Issue
Block a user