This commit is contained in:
@@ -23,9 +23,6 @@ const go2rtcProxy = createProxyMiddleware({
|
||||
target: process.env.GO2RTC_URL || "http://kai-sa-go2rtc:1984",
|
||||
changeOrigin: true,
|
||||
ws: true,
|
||||
pathRewrite: {
|
||||
"^/go2rtc": "",
|
||||
},
|
||||
on: {
|
||||
proxyReqWs: (proxyReq: any, req: any) => {
|
||||
if (req.headers.cookie) {
|
||||
|
||||
Reference in New Issue
Block a user