From 2c8fcf019294ff654d33ffa3b77c1733cc37d069 Mon Sep 17 00:00:00 2001 From: Zac Gaetano Date: Tue, 14 Apr 2026 09:21:20 -0400 Subject: [PATCH] Add frontend/vite.config.ts --- frontend/vite.config.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 frontend/vite.config.ts diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts new file mode 100644 index 0000000..e67912e --- /dev/null +++ b/frontend/vite.config.ts @@ -0,0 +1,16 @@ +import { defineConfig } from 'vite'; +import react from '@vitejs/plugin-react'; + +export default defineConfig({ + plugins: [react()], + server: { + proxy: { + '/api': 'http://localhost:8000', + '/ws': { + target: 'ws://localhost:8000', + ws: true, + }, + '/hls': 'http://localhost:8000', + }, + }, +});