diff --git a/sports-matcher/client/src/utils/httpClients.js b/sports-matcher/client/src/utils/httpClients.js index 6cff00c..36a9ea2 100644 --- a/sports-matcher/client/src/utils/httpClients.js +++ b/sports-matcher/client/src/utils/httpClients.js @@ -1,7 +1,7 @@ import axios from "axios"; export const apiClient = axios.create({ - baseURL: process.env.REACT_APP_API_HOST || "" + "/api/", + baseURL: (process.env.REACT_APP_API_HOST || "") + "/api/", timeout: 5000, withCredentials: process.env.NODE_ENV === "development", validateStatus: function (status) {