This commit is contained in:
WJQSERVER 2024-10-20 17:48:31 +08:00
parent e5d941414e
commit aee81ba4fd
3 changed files with 7 additions and 7 deletions

View file

@ -6,7 +6,7 @@ import (
type Config struct {
Server ServerConfig
Page PageConfig
Pages PagesConfig
Log LogConfig
CORS CORSConfig
Auth AuthConfig
@ -20,7 +20,7 @@ type ServerConfig struct {
SizeLimit int `toml:"sizeLimit"`
}
type PageConfig struct {
type PagesConfig struct {
Enabled bool `toml:"enabled"`
StaticDir string `toml:"staticDir"`
}