mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 04:05:26 +03:00
proxy websockets
This commit is contained in:
parent
a47068922f
commit
193a969144
@ -19,7 +19,16 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
'/exports': {
|
'/exports': {
|
||||||
target: 'http://localhost:5000'
|
target: 'http://localhost:5000'
|
||||||
}
|
},
|
||||||
|
'/ws': {
|
||||||
|
target: 'ws://localhost:5000',
|
||||||
|
ws: true,
|
||||||
|
},
|
||||||
|
'/live': {
|
||||||
|
target: 'ws://localhost:5000',
|
||||||
|
changeOrigin: true,
|
||||||
|
ws: true,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
@ -44,3 +53,6 @@ export default defineConfig({
|
|||||||
globals: true,
|
globals: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user