replased env url

This commit is contained in:
Vaibhav Surve 2025-03-29 16:22:50 +05:30
parent 0cfd60dbe4
commit 899dac5afd

View File

@ -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