port replaced

This commit is contained in:
2025-06-01 14:04:31 +05:30
parent aa38ddc00c
commit c91d5efb05
4 changed files with 6 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
import { QueryClient, QueryFunction } from "@tanstack/react-query";
const API_BASE_URL = import.meta.env.VITE_API_BASE_URL ?? "";
const API_BASE_URL = import.meta.env.VITE_API_BASE_URL_BACKEND ?? "";
async function throwIfResNotOk(res: Response) {
if (!res.ok) {