add embed.go
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -30,4 +30,5 @@ coverage
|
|||||||
*.tsbuildinfo
|
*.tsbuildinfo
|
||||||
/bin/
|
/bin/
|
||||||
/web/*
|
/web/*
|
||||||
|
!/web/embed.go
|
||||||
/config/config.yaml
|
/config/config.yaml
|
||||||
|
|||||||
8
web/embed.go
Normal file
8
web/embed.go
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package web
|
||||||
|
|
||||||
|
import (
|
||||||
|
"embed"
|
||||||
|
)
|
||||||
|
|
||||||
|
//go:embed all:dist
|
||||||
|
var DistDir embed.FS
|
||||||
Reference in New Issue
Block a user