From d017e13d6350db7663189b2ffdc5bd8fc3c6648f Mon Sep 17 00:00:00 2001 From: juancarmore Date: Tue, 10 Jun 2025 16:25:51 +0200 Subject: [PATCH] backend: update recording URL format in getRecordingUrl endpoint --- backend/src/controllers/recording.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/controllers/recording.controller.ts b/backend/src/controllers/recording.controller.ts index 633c24a..503574b 100644 --- a/backend/src/controllers/recording.controller.ts +++ b/backend/src/controllers/recording.controller.ts @@ -239,7 +239,7 @@ export const getRecordingUrl = async (req: Request, res: Response) => { } const secret = privateAccess ? recordingSecrets.privateAccessSecret : recordingSecrets.publicAccessSecret; - const recordingUrl = `${req.protocol}://${req.get('host')}${INTERNAL_CONFIG.API_BASE_PATH_V1}/recordings/${recordingId}/media?secret=${secret}`; + const recordingUrl = `${req.protocol}://${req.get('host')}/recording/${recordingId}?secret=${secret}`; return res.status(200).json({ url: recordingUrl }); } catch (error) {