diff --git a/trainer_web/static/js/services/apiClient.js b/trainer_web/static/js/services/apiClient.js
index c269d60..0da4516 100644
--- a/trainer_web/static/js/services/apiClient.js
+++ b/trainer_web/static/js/services/apiClient.js
@@ -1,10 +1,8 @@
-import { getApiKey } from './authClient.js';
const defaultTimeout = 10000;
export function fetchWithTimeoutAndRetry(url, options = {}, timeout = defaultTimeout, retries = 3) {
const controller = new AbortController();
const timeoutId = setTimeout(() => controller.abort(), timeout);
- const apiKey = getApiKey();
const fetchOptions = {
...options,
headers: {
@@ -12,7 +10,6 @@ export function fetchWithTimeoutAndRetry(url, options = {}, timeout = defaultTim
'Cache-Control': 'no-cache, no-store, must-revalidate',
Pragma: 'no-cache',
Expires: '0',
- ...(apiKey ? { Authorization: `Bearer ${apiKey}` } : {}),
},
signal: controller.signal,
};
diff --git a/trainer_web/templates/index.html b/trainer_web/templates/index.html
index 788819b..d6eb535 100644
--- a/trainer_web/templates/index.html
+++ b/trainer_web/templates/index.html
@@ -11,26 +11,6 @@