diff --git a/src/context/config/configState.jsx b/src/context/config/configState.jsx index 05e26e2..68a8bc3 100644 --- a/src/context/config/configState.jsx +++ b/src/context/config/configState.jsx @@ -38,15 +38,8 @@ const ConfigState = (props) => { // Get the server host and port const setURI = () => { - if(window.location.host == "dashboard.swiftwave.org" ){ - let baseURL = state.server.host + ":" + state.server.port; - axios.defaults.baseURL = "https://proxy.swiftwave.org"; - axios.defaults.headers.common["X-PROXY-PASS"] = baseURL; - } else { let baseURL = state.server.host + ":" + state.server.port; axios.defaults.baseURL = "http://"+baseURL; - } - }; // Get websocket URI