added zoom functionality, need to add endpoint to post

This commit is contained in:
2025-09-29 15:21:22 +01:00
parent 3b9469496b
commit c5c8218e1a
9 changed files with 171 additions and 26 deletions

View File

@@ -5,7 +5,7 @@ import { CAM_BASE } from "../utils/config";
const apiUrl = CAM_BASE;
async function fetchSnapshot() {
const response = await fetch(`${apiUrl}/CameraA-preview`);
const response = await fetch(`${apiUrl}/CameraRear-preview`);
if (!response.ok) {
throw new Error("Cannot reach endpoint");
}