update
This commit is contained in:
@@ -10,6 +10,10 @@ export default defineConfig({
|
||||
server: {
|
||||
proxy: {
|
||||
'/api': 'http://localhost:8000',
|
||||
// Nicht direkt zu MediaMTX: das antwortet mit einem Redirect auf
|
||||
// seinen eigenen Port, und der Browser landet damit außerhalb des
|
||||
// Proxys. Das Backend folgt dem Redirect selbst.
|
||||
'/stream': 'http://localhost:8000',
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user