diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-11 21:38:43 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-11 21:38:43 +0200 |
| commit | f7c85b160d17f8cf7de01c4b505501a3821aedbf (patch) | |
| tree | c9a874f2aca4e6c1199a58149905f004e7acba6e | |
| parent | 98b09cab690d62fed9d18acb5e9d49ed76acbc77 (diff) | |
feat: move GPX storage under data
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | config.example.yaml | 2 | ||||
| -rw-r--r-- | config/config.go | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ config.yaml *.db *.png -rides/*.gpx +data/rides/*.gpx debug_department_*.csv france-latest.osm.pbf biking_home diff --git a/config.example.yaml b/config.example.yaml index 74fd06e..b0e7d80 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -6,7 +6,7 @@ server: public_url: http://localhost:8080 storage: - gpx_dir: rides + gpx_dir: data/rides strava: client_id: "" diff --git a/config/config.go b/config/config.go index 98ccebc..d165db5 100644 --- a/config/config.go +++ b/config/config.go @@ -43,7 +43,7 @@ func Default() Config { Address: "127.0.0.1:8080", PublicURL: "http://localhost:8080", }, - Storage: StorageConfig{GPXDir: "rides"}, + Storage: StorageConfig{GPXDir: "data/rides"}, } } |