From 96cc02d48e4d9d71c079d6ee8e07035112e98e8d Mon Sep 17 00:00:00 2001 From: Scott Lamb Date: Tue, 26 Oct 2021 14:14:28 -0700 Subject: [PATCH] fix incorrect onvif url on upgrade --- server/db/upgrade/v6_to_v7.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/db/upgrade/v6_to_v7.rs b/server/db/upgrade/v6_to_v7.rs index 0652673..9bf28ab 100644 --- a/server/db/upgrade/v6_to_v7.rs +++ b/server/db/upgrade/v6_to_v7.rs @@ -255,7 +255,7 @@ fn copy_cameras(tx: &rusqlite::Transaction) -> Result<(), Error> { let config = CameraConfig { description: description.take().unwrap_or_default(), onvif_base_url: onvif_host - .map(|h| Url::parse(&format!("rtsp://{}/", h))) + .map(|h| Url::parse(&format!("http://{}/", h))) .transpose()?, username: username.take().unwrap_or_default(), password: password.take().unwrap_or_default(),