This commit is contained in:
MD ARIF KHAN 2023-07-30 20:53:19 +05:30
parent eed25b773b
commit 7a17295b35

View File

@ -13,7 +13,9 @@ import { cibGmail } from "@coreui/icons";
const setupAxios = () => { const setupAxios = () => {
//axios.defaults.baseURL = 'https://bolo-api.checkapp.one/' //axios.defaults.baseURL = 'https://bolo-api.checkapp.one/'
axios.defaults.baseURL = "http://localhost:5000"; //axios.defaults.baseURL = "http://localhost:5000";
axios.defaults.baseURL = "https://boloai-api.onrender.com"; //->USE THIS
axios.defaults.headers = { axios.defaults.headers = {
"Cache-Control": "no-cache,no-store", "Cache-Control": "no-cache,no-store",
Pragma: "no-cache", Pragma: "no-cache",