From 7e83015932c8ff6c5a261a1bbcca8ccceba3dcad Mon Sep 17 00:00:00 2001 From: Adam Shiervani Date: Tue, 12 Aug 2025 16:55:51 +0200 Subject: [PATCH] refactor(vite.config): fix local ui development proxy --- ui/vite.config.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ui/vite.config.ts b/ui/vite.config.ts index 5871c4b..07d88e4 100644 --- a/ui/vite.config.ts +++ b/ui/vite.config.ts @@ -17,11 +17,7 @@ export default defineConfig(({ mode, command }) => { const { JETKVM_PROXY_URL, USE_SSL } = process.env; const useSSL = USE_SSL === "true"; - const plugins = [ - tailwindcss(), - tsconfigPaths(), - react() - ]; + const plugins = [tailwindcss(), tsconfigPaths(), react()]; if (useSSL) { plugins.push(basicSsl()); } @@ -41,6 +37,8 @@ export default defineConfig(({ mode, command }) => { "/storage": JETKVM_PROXY_URL, "/cloud": JETKVM_PROXY_URL, "/developer": JETKVM_PROXY_URL, + "/microphone": JETKVM_PROXY_URL, + "/audio": JETKVM_PROXY_URL, } : undefined, },