From f7c85b160d17f8cf7de01c4b505501a3821aedbf Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Tue, 11 Aug 2026 21:38:43 +0200 Subject: feat: move GPX storage under data --- .gitignore | 2 +- config.example.yaml | 2 +- config/config.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 506defb..ceaa2e1 100644 --- a/.gitignore +++ b/.gitignore @@ -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"}, } } -- cgit v1.2.3