base url
This commit is contained in:
parent
6606e405d3
commit
c191bb4cb0
@ -10,8 +10,8 @@ import store from './store'
|
|||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
|
|
||||||
const setupAxios = () => {
|
const setupAxios = () => {
|
||||||
// axios.defaults.baseURL = 'https://dating-api-server.herokuapp.com';
|
axios.defaults.baseURL = 'https://dating-api-server.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',
|
||||||
|
Loading…
Reference in New Issue
Block a user