From c191bb4cb0f350a6f7f7712ffd9f56e59fb3ff01 Mon Sep 17 00:00:00 2001 From: pawan-dot <71133473+pawan-dot@users.noreply.github.com> Date: Sun, 29 May 2022 23:54:45 +0530 Subject: [PATCH] base url --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index fd60cb2..6c43ea5 100644 --- a/src/index.js +++ b/src/index.js @@ -10,8 +10,8 @@ import store from './store' import axios from 'axios' const setupAxios = () => { - // axios.defaults.baseURL = 'https://dating-api-server.herokuapp.com'; - axios.defaults.baseURL = 'http://localhost:5000' + axios.defaults.baseURL = 'https://dating-api-server.herokuapp.com'; + //axios.defaults.baseURL = 'http://localhost:5000' axios.defaults.headers = { 'Cache-Control': 'no-cache,no-store', 'Pragma': 'no-cache',