Skip to content

Commit d99642c

Browse files
committed
feat: add mercure token
1 parent 57b6d75 commit d99642c

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

src/services/SseService.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ export class SseService {
9898

9999
url.searchParams.append("topic", topic);
100100
url.searchParams.append("authorization", MERCURE_TOKEN);
101-
console.log(url)
102-
console.log({ MERCURE_TOKEN })
103101
const eventSource = new EventSource(url, { withCredentials: true });
104102

105103
/* Fix firefox warning */

src/utils/env.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
console.log('Loaded env:', import.meta.env)
2-
31
export const SITE_NAME = import.meta.env.VITE_APP_NAME
42
export const MERCURE_URL = import.meta.env.VITE_MERCURE_URL
53
export const API_URL = import.meta.env.VITE_API_URL

0 commit comments

Comments
 (0)