Skip to content

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

rename downloads to events

roryclear52503a167832
diff --git a/clearcam/FileServer.m b/clearcam/FileServer.m
index f3b291b..3ce04c4 100644
--- a/clearcam/FileServer.m
+++ b/clearcam/FileServer.m
@@ -437,8 +437,8 @@
}
- if ([filePath hasPrefix:@"multicamera"] || [filePath hasPrefix:@"downloads"]) {
- NSString *fileName = [filePath hasPrefix:@"multicamera"] ? @"multicamera.html" : @"downloads.html";
+ if ([filePath hasPrefix:@"multicamera"] || [filePath hasPrefix:@"events"]) {
+ NSString *fileName = [filePath hasPrefix:@"multicamera"] ? @"multicamera.html" : @"events.html";
NSString *playerFilePath = [[NSBundle mainBundle] pathForResource:[fileName stringByDeletingPathExtension] ofType:@"html"];
if (playerFilePath && [[NSFileManager defaultManager] fileExistsAtPath:playerFilePath]) {
diff --git a/clearcam/downloads.html b/clearcam/events.html
similarity index 100%
rename from clearcam/downloads.html
rename to clearcam/events.html
diff --git a/clearcam/player.html b/clearcam/player.html
index 3e69a9e..42bb1bb 100644
--- a/clearcam/player.html
+++ b/clearcam/player.html
@@ -318,7 +318,7 @@
</svg>
</a>
<!-- Existing download icon -->
- <a href="/downloads.html" id="downloadIcon">
+ <a href="/events.html" id="downloadIcon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white" width="24px" height="24px">
<path d="M15.5 14h-.79l-.28-.27a6.471 6.471 0 0 0 1.48-4.23C15.91 6.01 13.43 3.5 10.5 3.5S5.09 6.01 5.09 9.5 7.57 15.5 10.5 15.5c1.61 0 3.09-.59 4.23-1.48l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-5 0C8.01 14 6 11.99 6 9.5S8.01 5 10.5 5 15 7.01 15 9.5 12.99 14 10.5 14z"/>
</svg>