Claude: Fix

This commit is contained in:
chk
2026-06-03 20:56:11 +02:00
parent 77c20bc3f1
commit 98d77e6697
4 changed files with 76 additions and 13 deletions

View File

@@ -37,7 +37,9 @@ const go2rtcProxy = createProxyMiddleware({
target: GO2RTC_URL,
changeOrigin: true,
ws: true,
pathFilter: ['/api/**', '/video-rtc.js', '/video-stream.js'],
// Plain-Pfade: dürfen NICHT mit Globs (/api/**) gemischt werden (HPM v3)
// '/api' matcht alles ab /api/... — kein ** nötig
pathFilter: ['/api', '/video-rtc.js', '/video-stream.js'],
logger: console,
});
app.use(go2rtcProxy);