Claude: Fix
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user