diff --git a/web-new/vite.config.ts b/web-new/vite.config.ts index 2ed74b4c7..a97dbd014 100644 --- a/web-new/vite.config.ts +++ b/web-new/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://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, },