started redesign on dashbaord. changed vite basename to /Mobile, currently folkstone address
This commit is contained in:
@@ -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`);
|
||||
|
||||
Reference in New Issue
Block a user