This commit is contained in:
parent
896a3b77d7
commit
958460db98
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@
|
|||
if (!browser) return;
|
||||
|
||||
try {
|
||||
const res = await fetch('/api/watch/rooms');
|
||||
const res = await fetch('/api/watch/rooms', { credentials: 'include' });
|
||||
if (res.ok) {
|
||||
const data = await res.json();
|
||||
watchRooms = data.rooms || [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue