From b10f77ef039e0e63624cb924f59c9f00d3950703 Mon Sep 17 00:00:00 2001 From: Jake Loo <2171134+jakeloo@users.noreply.github.com> Date: Wed, 5 Mar 2025 22:33:13 +0000 Subject: [PATCH] Support overriding proxy server url --- client/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/App.tsx b/client/src/App.tsx index a9adea53e..279605e7d 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -47,7 +47,7 @@ import ToolsTab from "./components/ToolsTab"; const params = new URLSearchParams(window.location.search); const PROXY_PORT = params.get("proxyPort") ?? "3000"; -const PROXY_SERVER_URL = `http://localhost:${PROXY_PORT}`; +const PROXY_SERVER_URL = `${params.get("proxyServerUrl") ?? "http://localhost"}:${PROXY_PORT}`; const App = () => { // Handle OAuth callback route