Add frontend/vite.config.ts

This commit is contained in:
Zac Gaetano 2026-04-14 09:21:20 -04:00
parent 49178acc24
commit 2c8fcf0192

16
frontend/vite.config.ts Normal file
View file

@ -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',
},
},
});