Update dashboard/src/api.ts
Browse files- 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 || '
|
| 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) {
|