diff --git a/web/vite.config.ts b/web/vite.config.ts index 5d5bf82070..a97dbd014a 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -12,24 +12,24 @@ export default defineConfig({ server: { proxy: { '/api': { - target: 'http://192.168.50.106:5000', + target: 'http://localhost:5000', ws: true, }, '/vod': { - target: 'http://192.168.50.106:5000' + target: 'http://localhost:5000' }, '/clips': { - target: 'http://192.168.50.106:5000' + target: 'http://localhost:5000' }, '/exports': { - target: 'http://192.168.50.106:5000' + target: 'http://localhost:5000' }, '/ws': { - target: 'ws://192.168.50.106:5000', + target: 'ws://localhost:5000', ws: true, }, '/live': { - target: 'ws://192.168.50.106:5000', + target: 'ws://localhost:5000', changeOrigin: true, ws: true, },