diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index c5ce52fb..da780f23 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -41,7 +41,8 @@ import {isMobile} from "react-device-detect"; var globalUrl = window.location.origin // CORS used for testing purposes. Should only happen with specific port and http -if (window.location.protocol == "http:" && window.location.port === "3000") { +//window.location.protocol == "http:" && +if (window.location.port === "3000") { globalUrl = "http://localhost:5001" //globalUrl = "http://localhost:5002" }