dipan004 commited on
Commit
401224b
·
verified ·
1 Parent(s): 6e81228

Update dashboard/src/api.ts

Browse files
Files changed (1) hide show
  1. dashboard/src/api.ts +1 -2
dashboard/src/api.ts CHANGED
@@ -3,7 +3,7 @@
3
  * Running on http://localhost:8000
4
  */
5
 
6
- const API_BASE_URL = import.meta.env.VITE_API_URL || 'http://localhost:8000';
7
 
8
  export interface NotificationPayload {
9
  source: string;
@@ -30,7 +30,6 @@ class ApiClient {
30
  'Content-Type': 'application/json',
31
  },
32
  body: JSON.stringify(payload),
33
- timeout: 30000,
34
  });
35
 
36
  if (!response.ok) {
 
3
  * Running on http://localhost:8000
4
  */
5
 
6
+ const API_BASE_URL = import.meta.env.VITE_API_URL || '';
7
 
8
  export interface NotificationPayload {
9
  source: string;
 
30
  'Content-Type': 'application/json',
31
  },
32
  body: JSON.stringify(payload),
 
33
  });
34
 
35
  if (!response.ok) {