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 },