From 55f6f6a18a68f74fe159eff655d3cb93fa0309c0 Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Sun, 22 Jan 2023 16:29:07 -0800 Subject: [PATCH] deserialize config file onto default vs empty config --- backend/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/config.go b/backend/config.go index 1a8963a..b636019 100644 --- a/backend/config.go +++ b/backend/config.go @@ -41,7 +41,7 @@ func ReadConfigFile(filepath string) (*Config, error) { } defer f.Close() - c := &Config{} + c := DefaultConfig() if err := toml.NewDecoder(f).Decode(c); err != nil { return nil, err }