started redesign on dashbaord. changed vite basename to /Mobile, currently folkstone address

This commit is contained in:
2025-09-26 11:42:12 +01:00
parent 80b407943f
commit aee898abd5
14 changed files with 99 additions and 94 deletions

View File

@@ -1,8 +1,8 @@
import { useRef, useCallback, useEffect } from "react";
import { useQuery } from "@tanstack/react-query";
import { CAM_BASE } from "../utils/config";
import { OUTSIDE_CAM_BASE } from "../utils/config";
const apiUrl = CAM_BASE;
const apiUrl = OUTSIDE_CAM_BASE;
async function fetchSnapshot(cameraSide: string) {
const response = await fetch(`${apiUrl}/${cameraSide}-preview`);