From 97650f6539f17f95f6bafea907e122d7760320f0 Mon Sep 17 00:00:00 2001 From: Leon Liang Date: Thu, 24 Oct 2019 22:08:09 -0400 Subject: [PATCH] added axios baseURL --- twistter-frontend/src/App.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/twistter-frontend/src/App.js b/twistter-frontend/src/App.js index b4b1aec..6306ab1 100644 --- a/twistter-frontend/src/App.js +++ b/twistter-frontend/src/App.js @@ -19,6 +19,8 @@ import { logoutUser, getUserData } from './redux/actions/userActions'; // Components import AuthRoute from "./util/AuthRoute"; +axios.defaults.baseURL = 'http://localhost:5006/twistter-e4649/us-central1/api'; + // Pages import home from './pages/Home'; import signup from './pages/Signup';