diff --git a/frontend/src/App.js b/frontend/src/App.js index 550439a1..dd84065b 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -38,10 +38,10 @@ import AlertTemplate from "react-alert-template-basic"; import { positions, Provider } from "react-alert"; // Testing - localhost -const globalUrl = "http://192.168.3.6:5001" +//const globalUrl = "http://192.168.3.6:5001" // Production - backend proxy forwarding in nginx -//const globalUrl = window.location.origin +const globalUrl = window.location.origin const surfaceColor = "#27292D" const inputColor = "#383B40" diff --git a/frontend/src/Apps.js b/frontend/src/Apps.js index 4d5ab584..6546ddd5 100644 --- a/frontend/src/Apps.js +++ b/frontend/src/Apps.js @@ -531,6 +531,7 @@ const Apps = (props) => { .then((response) => { if (response.status === 200) { alert.success("Successfully deleted app") + getApps() } else { alert.error("Failed deleting app") }