mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-11-28 21:18:11 -05:00
config: validate more in cameras dialog box
Fixes #152 This won't win any awards for best UI or cleanest UI code, but it's an improvement. Long-term I want the web config UI instead.
This commit is contained in:
@@ -89,7 +89,7 @@ impl<C: Clocks + Clone> TestDb<C> {
|
||||
streams: [
|
||||
db::StreamChange {
|
||||
sample_file_dir_id: Some(sample_file_dir_id),
|
||||
rtsp_url: "rtsp://test-camera/main".to_owned(),
|
||||
rtsp_url: Some(url::Url::parse("rtsp://test-camera/main").unwrap()),
|
||||
record: true,
|
||||
flush_if_sec,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user