add embed.FS and debug
This commit is contained in:
@@ -20,6 +20,7 @@ type ServerConfig struct {
|
||||
Host string `toml:"host"`
|
||||
SizeLimit int `toml:"sizeLimit"`
|
||||
EnableH2C string `toml:"enableH2C"`
|
||||
Debug bool `toml:"debug"`
|
||||
}
|
||||
|
||||
type PagesConfig struct {
|
||||
|
||||
@@ -3,6 +3,7 @@ host = "127.0.0.1"
|
||||
port = 8080
|
||||
sizeLimit = 125 # MB
|
||||
enableH2C = "on" # "on" or "off"
|
||||
debug = false
|
||||
|
||||
[pages]
|
||||
enabled = false
|
||||
|
||||
Reference in New Issue
Block a user