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

@ -16,8 +16,9 @@ func DefaultConfig() {
G = Config{
Debug: false,
Web: WebConfig{
Listen: "localhost:9000",
ListenTLS: "localhost:9443",
Listen: "localhost:9000",
ListenTLS: "localhost:9443",
LoadLocalFiles: false,
},
Paths: PathsConfig{
Media: "./media",