feat: 完成前后端打包
This commit is contained in:
8
web/web.go
Normal file
8
web/web.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package web
|
||||
|
||||
import "embed"
|
||||
|
||||
const DistDir = "frontend/dist"
|
||||
|
||||
//go:embed all:frontend/dist
|
||||
var Public embed.FS
|
||||
Reference in New Issue
Block a user