From 171a142adbe95e471e96a69f5d395e385b2c4bf5 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sat, 18 May 2024 19:49:38 -0500 Subject: [PATCH] optional env var for easier development (#11426) --- web/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/vite.config.ts b/web/vite.config.ts index 6a2c05fb8..cb1a580bf 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -4,7 +4,7 @@ import { defineConfig } from "vite"; import react from "@vitejs/plugin-react-swc"; import monacoEditorPlugin from "vite-plugin-monaco-editor"; -const proxyHost = "localhost:5000"; +const proxyHost = process.env.PROXY_HOST || "localhost:5000"; // https://vitejs.dev/config/ export default defineConfig({