updated addr
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { useRef, useCallback, useEffect } from "react";
|
||||
import { useQuery } from "@tanstack/react-query";
|
||||
|
||||
const apiUrl = import.meta.env.VITE_AGX_FRONT_BASE;
|
||||
const apiUrl = import.meta.env.VITE_LOCAL_BASE;
|
||||
|
||||
async function fetchSnapshot(cameraSide: string) {
|
||||
const response = await fetch(`${apiUrl}/${cameraSide}-preview`);
|
||||
|
||||
Reference in New Issue
Block a user