forked from Github/frigate
Proxy websockets in devcontainers (#8886)
* proxy websockets * remove whitespace
This commit is contained in:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user