Add: embed web files

This commit is contained in:
2022-12-17 21:13:09 +08:00
parent d52c64d25a
commit 21b2098c78
3 changed files with 19 additions and 3 deletions
+3
View File
@@ -1,8 +1,11 @@
package commonconfig
import "io/fs"
type Config struct {
APIConfig APIConfig `json:"api"`
TmpfsConfig TmpfsConfig `json:"tmpfs"`
WEBFS fs.FS
}
type APIConfig struct {