Refactor camera configuration and overview snapshot hooks; update environment variables and changed camera names to A and B

This commit is contained in:
2025-09-30 11:11:46 +01:00
parent e11d914c5e
commit eb74c2c649
11 changed files with 24 additions and 69 deletions

View File

@@ -4,7 +4,10 @@ import { SightingFeedProvider } from "../context/providers/SightingFeedProvider"
import { CAM_BASE } from "../utils/config";
const Dashboard = () => {
const base_url = `${CAM_BASE}/SightingListFront/sightingSummary?mostRecentRef=`;
const mode = import.meta.env.MODE;
const base_url = `${CAM_BASE}/SightingList/sightingSummary?mostRecentRef=`;
console.log(mode);
console.log(base_url);
return (
<SightingFeedProvider url={base_url}>
<div className="mx-auto flex flex-col lg:flex-row gap-2 px-1 sm:px-2 lg:px-0 w-full min-h-screen">