testapp: Updated meet url and webcomponent src for pointing to local deployment

This commit is contained in:
Carlos Santos 2025-07-15 10:44:01 +02:00
parent ef6de48a19
commit a97480b3a1
3 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,4 @@
OPENVIDU_MEET_URL=http://localhost:6080/api/v1 OPENVIDU_MEET_URL=http://localhost:9080/api/v1
WEBCOMPONENT_SRC=http://localhost:9080/v1/openvidu-meet.js
MEET_API_KEY=meet-api-key MEET_API_KEY=meet-api-key
PORT=5080 PORT=5080

View File

@ -10,7 +10,7 @@
rel="stylesheet" rel="stylesheet"
/> />
<link rel="stylesheet" href="css/videoRoom.css" /> <link rel="stylesheet" href="css/videoRoom.css" />
<script src="http://localhost:6080/v1/openvidu-meet.js"></script> <script src="{{ webcomponentSrc }}"></script>
</head> </head>
<body> <body>

View File

@ -30,7 +30,8 @@ export const joinRoom = (req: Request, res: Response) => {
isModerator: participantRole === 'moderator', isModerator: participantRole === 'moderator',
participantName, participantName,
roomId, roomId,
showOnlyRecordings: showOnlyRecordings || false showOnlyRecordings: showOnlyRecordings || false,
webcomponentSrc: process.env.WEBCOMPONENT_SRC
}); });
} catch (error) { } catch (error) {
console.error('Error joining room:', error); console.error('Error joining room:', error);