fix vite config

This commit is contained in:
Josh Hawkins 2024-02-20 10:55:03 -06:00
parent 6009366d7c
commit 62d95cca71

View File

@ -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,
},