diff --git a/src/services/api.js b/src/services/api.js index 31da6be..1c01230 100644 --- a/src/services/api.js +++ b/src/services/api.js @@ -1,7 +1,7 @@ import axios from 'axios' const API_BASE_URL = process.env.NODE_ENV === 'production' - ? 'http://127.0.0.1:5010' + ? 'https://dev-api.rideaware.org' : 'http://127.0.0.1:5000' const api = axios.create({ @@ -39,7 +39,7 @@ api.interceptors.response.use( } const refreshUrl = process.env.NODE_ENV === 'production' - ? 'http://127.0.0.1:5010/api/refresh-token' + ? 'https://dev-api.rideaware.org/api/refresh-token' : 'http://127.0.0.1:5000/api/refresh-token' const { data } = await axios.post(refreshUrl, {