fix: default storage to $HOME/nvr_data, not /mnt/recordings
This commit is contained in:
parent
dc236e561d
commit
2f656aaa40
2 changed files with 2 additions and 2 deletions
|
|
@ -88,7 +88,7 @@ func DefaultConfig() Config {
|
|||
ViewerPort: ":8090",
|
||||
},
|
||||
Storage: StorageConfig{
|
||||
RecordingsPath: "/mnt/recordings",
|
||||
RecordingsPath: os.Getenv("HOME") + "/nvr_data",
|
||||
RetentionDays: 7,
|
||||
CleanupIntervalMins: 60,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue