mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-06 13:34:13 +03:00
Define proxy host variable in vite.config.ts
Add a new line to define the proxy host variable.
This commit is contained in:
parent
2d99f2e850
commit
779134ed0d
@ -5,6 +5,7 @@ import react from "@vitejs/plugin-react-swc";
|
||||
import monacoEditorPlugin from "vite-plugin-monaco-editor";
|
||||
|
||||
const proxyHost = process.env.PROXY_HOST || "localhost:5000";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
define: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user