diff --git a/openvidu-call-back/src/controllers/RecordingController.ts b/openvidu-call-back/src/controllers/RecordingController.ts index ab2c3bae..d71d33e4 100644 --- a/openvidu-call-back/src/controllers/RecordingController.ts +++ b/openvidu-call-back/src/controllers/RecordingController.ts @@ -174,6 +174,7 @@ app.delete('/delete/:recordingId', async (req: Request, res: Response) => { export const proxyGETRecording = createProxyMiddleware({ target: `${OPENVIDU_URL}/openvidu/`, secure: CALL_OPENVIDU_CERTTYPE !== 'selfsigned', + changeOrigin: true, onProxyReq: (proxyReq, req: Request, res: Response) => { proxyReq.removeHeader('Cookie'); const recordingId: string = req.params.recordingId;