diff --git a/src/components/actions/API.js b/src/components/actions/API.js index 8cb7a21..52dcb34 100644 --- a/src/components/actions/API.js +++ b/src/components/actions/API.js @@ -3,5 +3,5 @@ import axios from "axios"; // Axios create, exporting callAPI export const callAPI = axios.create({ - baseURL: "https://devapi.benjamyn.love/migrations/", + baseURL: process.env.REACT_APP_API_ADDRESS, }); diff --git a/src/components/actions/Msgbox.js b/src/components/actions/Msgbox.js index 7fdfe84..a1f9133 100644 --- a/src/components/actions/Msgbox.js +++ b/src/components/actions/Msgbox.js @@ -9,7 +9,7 @@ function Msgbox(props) { { props.error ? { "Unable to update: " + props.error } : null } { props.msg ? { "Updated migration details for: " + props.msg } : null } - { props.linkid ? {"https://devui.benjamyn.love/migrations/" + props.linkid } : null } + { props.linkid ? {process.env.REACT_APP_SITE_URL + props.linkid } : null }