add embed.go

This commit is contained in:
2025-11-12 09:50:22 +03:00
parent 2a8566712a
commit 74d4172c43
2 changed files with 9 additions and 0 deletions

1
.gitignore vendored
View File

@@ -30,4 +30,5 @@ coverage
*.tsbuildinfo
/bin/
/web/*
!/web/embed.go
/config/config.yaml

8
web/embed.go Normal file
View File

@@ -0,0 +1,8 @@
package web
import (
"embed"
)
//go:embed all:dist
var DistDir embed.FS