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(),