From 62d95cca71c90f4c83ab625a632c1390151d395b Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Tue, 20 Feb 2024 10:55:03 -0600 Subject: [PATCH] fix vite config --- web/vite.config.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web/vite.config.ts b/web/vite.config.ts index e72ebb69a..a97dbd014 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.5.4:5000', + target: 'http://localhost:5000', ws: true, }, '/vod': { - target: 'http://192.168.5.4:5000' + target: 'http://localhost:5000' }, '/clips': { - target: 'http://192.168.5.4:5000' + target: 'http://localhost:5000' }, '/exports': { - target: 'http://192.168.5.4:5000' + target: 'http://localhost:5000' }, '/ws': { - target: 'ws://192.168.5.4:5000', + target: 'ws://localhost:5000', ws: true, }, '/live': { - target: 'ws://192.168.5.4:5000', + target: 'ws://localhost:5000', changeOrigin: true, ws: true, },