H2C-fix2
This commit is contained in:
@@ -19,7 +19,7 @@ type ServerConfig struct {
|
||||
Port int `toml:"port"`
|
||||
Host string `toml:"host"`
|
||||
SizeLimit int `toml:"sizeLimit"`
|
||||
EnableH2C bool `toml:"enableH2C"`
|
||||
EnableH2C string `toml:"enableH2C"`
|
||||
}
|
||||
|
||||
type PagesConfig struct {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
host = "127.0.0.1"
|
||||
port = 8080
|
||||
sizeLimit = 125 # MB
|
||||
enableH2C = true
|
||||
enableH2C = "on" # "on" or "off"
|
||||
|
||||
[pages]
|
||||
enabled = false
|
||||
|
||||
Reference in New Issue
Block a user