diff --git a/src/utils/apiutil.js b/src/utils/apiutil.js index 69da68f57bcde2dd64eabb9b58b2eee9d58d5658..a438e020751965e604551955bafcece3294f2e7a 100644 --- a/src/utils/apiutil.js +++ b/src/utils/apiutil.js @@ -1,10 +1,10 @@ import axios from "axios"; -const API_URL = "http://65.108.62.223:3000/api/"; +const API_URL = process.env.VUE_APP_BASEURL; export function doLogin(loginRequest) { return axios - .post(process.env.VUE_APP_BASEURL + "login/authentication", loginRequest) + .post(API_URL + "login/authentication", loginRequest) .then((response) => { return response.data; })