mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-19 19:06:16 +01:00
Proxy websockets in devcontainers (#8886)
* proxy websockets * remove whitespace
This commit is contained in:
parent
a47068922f
commit
a4f5ad3a94
@ -19,7 +19,16 @@ export default defineConfig({
|
||||
},
|
||||
'/exports': {
|
||||
target: 'http://localhost:5000'
|
||||
}
|
||||
},
|
||||
'/ws': {
|
||||
target: 'ws://localhost:5000',
|
||||
ws: true,
|
||||
},
|
||||
'/live': {
|
||||
target: 'ws://localhost:5000',
|
||||
changeOrigin: true,
|
||||
ws: true,
|
||||
},
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
@ -43,4 +52,4 @@ export default defineConfig({
|
||||
restoreMocks: true,
|
||||
globals: true,
|
||||
},
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user