refactor: make data path (partially) configurable
1 file changed, 4 insertions(+), 3 deletions(-)
changed files
M internal/config/config.go → internal/config/config.go
@@ -24,9 +24,10 @@ return nil } type Config struct { - BaseURL URL `toml:"base_url"` - CSP *CSP `toml:"content-security-policy"` - Headers map[string]string + BaseURL URL `toml:"base_url"` + DataPath string `toml:"data_path"` + CSP *CSP `toml:"content-security-policy"` + Headers map[string]string } func GetConfig() (*Config, error) {