From 2f656aaa40d41c4af75bf944f94db97339168a18 Mon Sep 17 00:00:00 2001 From: cclohmar Date: Thu, 6 Aug 2026 19:43:01 +0100 Subject: [PATCH] fix: default storage to $HOME/nvr_data, not /mnt/recordings --- config.go | 2 +- config.json.sample | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.go b/config.go index 3f400bb..33b6546 100644 --- a/config.go +++ b/config.go @@ -88,7 +88,7 @@ func DefaultConfig() Config { ViewerPort: ":8090", }, Storage: StorageConfig{ - RecordingsPath: "/mnt/recordings", + RecordingsPath: os.Getenv("HOME") + "/nvr_data", RetentionDays: 7, CleanupIntervalMins: 60, }, diff --git a/config.json.sample b/config.json.sample index e469649..ed4689e 100644 --- a/config.json.sample +++ b/config.json.sample @@ -5,7 +5,7 @@ "viewer_port": ":8090" }, "storage": { - "recordings_path": "/mnt/recordings", + "recordings_path": "/home/master/nvr_data", "retention_days": 7, "cleanup_interval_mins": 60 },