Skip to content

Commit d3388d0

Browse files
changing the axios util base url
1 parent 90b80b1 commit d3388d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VITE_API_URL=http://ubuntu-backend-1:8000/api/v0.1
1+
VITE_API_URL=http://13.36.171.143:8000/api/v0.1

client/src/Utils/axios.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import axios from 'axios';
33
const token = localStorage.getItem('access_token');
44

55
const axiosInstance = axios.create({
6-
baseURL: import.meta.env.VITE_API_URL,
6+
baseURL: 'http://13.36.171.143:8000/api/v0.1',
77
headers: {
88
'Content-Type': 'application/json',
99
'Accept': 'application/json'

0 commit comments

Comments
 (0)