Skip to content

Commit

Permalink
Fix: dist embed all file
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 committed Nov 12, 2023
1 parent 5de12cf commit d918b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/public.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"io/fs"
)

//go:embed dist
//go:embed all:dist
var dist embed.FS

var Public, _ = fs.Sub(dist, "dist")

0 comments on commit d918b09

Please sign in to comment.