diff --git a/frontend/src/utils/axios.js b/frontend/src/utils/axios.js index c48dbe4..50756b4 100644 --- a/frontend/src/utils/axios.js +++ b/frontend/src/utils/axios.js @@ -8,8 +8,8 @@ const getApiBaseURL = () => { return import.meta.env.VITE_API_BASE_URL; } - // Für Produktion: immer über Apache-Proxy - return '/api'; + // Für Produktion: Root-Pfad, da API-Endpunkte bereits mit /api beginnen + return ''; }; // Debug-Informationen