root: allow loading local /static files without debug flag

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-06-21 21:21:35 +02:00
parent 49def45ca3
commit f6026fdb13
4 changed files with 8 additions and 5 deletions

View File

@ -9,8 +9,9 @@ type Config struct {
}
type WebConfig struct {
Listen string `yaml:"listen"`
ListenTLS string `yaml:"listen_tls"`
Listen string `yaml:"listen"`
ListenTLS string `yaml:"listen_tls"`
LoadLocalFiles bool `yaml:"load_local_files"`
}
type PathsConfig struct {