Skip to content

Commit 7408195

Browse files
committed
refactor(vite.config): fix local ui development proxy
1 parent c51bdc5 commit 7408195

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

ui/vite.config.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,7 @@ export default defineConfig(({ mode, command }) => {
1717
const { JETKVM_PROXY_URL, USE_SSL } = process.env;
1818
const useSSL = USE_SSL === "true";
1919

20-
const plugins = [
21-
tailwindcss(),
22-
tsconfigPaths(),
23-
react()
24-
];
20+
const plugins = [tailwindcss(), tsconfigPaths(), react()];
2521
if (useSSL) {
2622
plugins.push(basicSsl());
2723
}
@@ -41,6 +37,8 @@ export default defineConfig(({ mode, command }) => {
4137
"/storage": JETKVM_PROXY_URL,
4238
"/cloud": JETKVM_PROXY_URL,
4339
"/developer": JETKVM_PROXY_URL,
40+
"/microphone": JETKVM_PROXY_URL,
41+
"/audio": JETKVM_PROXY_URL,
4442
}
4543
: undefined,
4644
},

0 commit comments

Comments
 (0)