Skip to content

Commit

Permalink
optional env var for easier development (#11426)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye217 authored May 19, 2024
1 parent 0810873 commit 171a142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 171a142

Please sign in to comment.