From 52f819139ee78767a908bc68824640dd0ced3573 Mon Sep 17 00:00:00 2001 From: Sidhant Khamankar Date: Wed, 3 Nov 2021 14:15:16 +0530 Subject: [PATCH] Hosted Backend URL added --- Frontend/App.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Frontend/App.js b/Frontend/App.js index fe5268c..af63502 100644 --- a/Frontend/App.js +++ b/Frontend/App.js @@ -79,8 +79,8 @@ const App = () => { const [user, setUser] = React.useState({}); const [axiosInst, setaxiosInstance] = React.useState({}); - const BASE_ADDRESS = - Platform.OS === 'android' ? Android_Local_ADDRESS : IOS_Local_ADDRESS; + const BASE_ADDRESS = 'https://campusspace.herokuapp.com'; + // Platform.OS === 'android' ? Android_Local_ADDRESS : IOS_Local_ADDRESS; let axiosInstance = axios.create({ baseURL: BASE_ADDRESS, timeout: 30000,