Add live views to new webui (#8970)

* Add support for live views

* Lint fixes

* Fix width

* Fix lint

* Cleanup hooks
This commit is contained in:
Nicolas Mowen
2023-12-15 16:24:50 -07:00
committed by Blake Blackshear
parent fbe58652d5
commit e3387de48f
16 changed files with 1528 additions and 207 deletions

View File

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