This commit is contained in:
team3
2026-08-31 11:54:20 +02:00
parent f29a4106bb
commit e7216138c7
21 changed files with 1517 additions and 87 deletions

View File

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