From 8d5dfd90332facb2613b927cf32472915f87359d Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 9 May 2024 17:29:07 +0200 Subject: refactor: make config entries kebab-case --- internal/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/config') diff --git a/internal/config/config.go b/internal/config/config.go index 2717291..94bf60e 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -27,7 +27,7 @@ func (u *URL) UnmarshalText(text []byte) (err error) { } type Config struct { - DataPath string `toml:"data_path"` + DataPath string `toml:"data-path"` CSP CSP `toml:"content-security-policy"` Headers map[string]string Sources map[string]importer.Source -- cgit 1.4.1