about summary refs log tree commit diff stats
path: root/internal/config
diff options
context:
space:
mode:
authorAlan Pearce2024-05-09 17:29:07 +0200
committerAlan Pearce2024-05-09 19:27:57 +0200
commit8d5dfd90332facb2613b927cf32472915f87359d (patch)
treef7d11b76cdb9c6c39ff6fabd54bbb469bc766aa7 /internal/config
parente062ca72b222b890e345548bd8422d5df98e9fef (diff)
downloadsearchix-8d5dfd90332facb2613b927cf32472915f87359d.tar.lz
searchix-8d5dfd90332facb2613b927cf32472915f87359d.tar.zst
searchix-8d5dfd90332facb2613b927cf32472915f87359d.zip
refactor: make config entries kebab-case
Diffstat (limited to 'internal/config')
-rw-r--r--internal/config/config.go2
1 files changed, 1 insertions, 1 deletions
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