Fixed api client url error.
This commit is contained in:
parent
30894c59c4
commit
499cbf3409
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user