From 899dac5afdc56c73d9f6b3a2da092cec0283d894 Mon Sep 17 00:00:00 2001 From: Vaibhav Surve Date: Sat, 29 Mar 2025 16:22:50 +0530 Subject: [PATCH] replased env url --- src/utils/axiosClient.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/axiosClient.jsx b/src/utils/axiosClient.jsx index e57f102a..7ad9c902 100644 --- a/src/utils/axiosClient.jsx +++ b/src/utils/axiosClient.jsx @@ -2,9 +2,9 @@ import axios from "axios"; import { useNavigate } from "react-router-dom"; import axiosRetry from "axios-retry"; import showToast from "../services/toastService"; - +const base_Url = process.env.VITE_BASE_URL; export const axiosClient = axios.create({ - baseURL: "http://localhost:5032", // Your Web API URL + baseURL: base_Url, // Your Web API URL withCredentials: false, // Required if the API uses cookies headers: { "Content-Type": "application/json", // Specify the content type