Skip to content

Commit e2246ec

Browse files
committed
feat: add mercure token
1 parent 5d4186f commit e2246ec

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/services/SseService.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ export class SseService {
9797
}
9898

9999
url.searchParams.append("topic", topic);
100-
url.searchParams.append("authorization", `Bearer ${MERCURE_TOKEN}`);
100+
url.searchParams.append("authorization", MERCURE_TOKEN);
101+
console.log(url)
102+
console.log({ MERCURE_TOKEN })
101103
const eventSource = new EventSource(url, { withCredentials: true });
102104

103105
/* Fix firefox warning */

0 commit comments

Comments
 (0)