Skip to content

Commit 88a4c04

Browse files
fix: set cookie without port in JitsiMeetView (#6507)
Co-authored-by: Otávio Stasiak <[email protected]>
1 parent 279ec85 commit 88a4c04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/JitsiMeetView/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const JitsiMeetView = (): React.ReactElement => {
3030
const date = new Date();
3131
date.setDate(date.getDate() + 1);
3232
const expires = date.toISOString();
33-
const domain = serverUrl.replace(/^https?:\/\//, '');
33+
const domain = serverUrl.replace(/^https?:\/\//, '').split(':')[0]; // remove the ":<port>"
3434
const ck = { domain, version: '1', expires };
3535

3636
await CookieManager.set(serverUrl, {

0 commit comments

Comments
 (0)