This commit is contained in:
pawan-dot 2022-10-18 12:37:54 +05:30
parent e89beffbce
commit 541270c2c0

View File

@ -11,8 +11,8 @@ import store from './store'
import axios from 'axios' import axios from 'axios'
const setupAxios = () => { const setupAxios = () => {
// axios.defaults.baseURL = 'https://cms-api-dashboard.herokuapp.com/'; axios.defaults.baseURL = 'https://cms-api-dashboard.herokuapp.com/';
axios.defaults.baseURL = 'http://localhost:5000' // axios.defaults.baseURL = 'http://localhost:5000'
axios.defaults.headers = { axios.defaults.headers = {
'Cache-Control': 'no-cache,no-store', 'Cache-Control': 'no-cache,no-store',
'Pragma': 'no-cache', 'Pragma': 'no-cache',