From 8d412146123de63d9113c3ca44b05b1ef8df0d54 Mon Sep 17 00:00:00 2001 From: Jay Gohil <59703162+gohil-jay@users.noreply.github.com> Date: Mon, 30 Aug 2021 15:53:47 +0530 Subject: [PATCH] Update App.jsx --- frontend/src/App.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index da780f23..562c154e 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -41,8 +41,7 @@ import {isMobile} from "react-device-detect"; var globalUrl = window.location.origin // CORS used for testing purposes. Should only happen with specific port and http -//window.location.protocol == "http:" && -if (window.location.port === "3000") { +if ( window.location.port === "3000") { globalUrl = "http://localhost:5001" //globalUrl = "http://localhost:5002" }