replased env url
This commit is contained in:
parent
0cfd60dbe4
commit
899dac5afd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user