Skip to content

Add object detection, tracking, mobile notifications, and search to any security camera.

add download

Rory Clear78c1882e0eed
diff --git a/mainview.html b/mainview.html
index 9a476a4..c016a18 100644
--- a/mainview.html
+++ b/mainview.html
@@ -2442,7 +2442,7 @@
document.addEventListener('DOMContentLoaded', loadFeatureFlags);
function downloadCameraFootage(camName) {
- console.log('Download requested for', camName);
+ window.location.href = `/export?cam=${encodeURIComponent(camName)}&date=${currentStreamDate}`;
}
function isClickOnPoint(point, clickX, clickY) {