diff --git a/client/src/services/api.js b/client/src/services/api.js index 0801172..0ec5301 100644 --- a/client/src/services/api.js +++ b/client/src/services/api.js @@ -13,8 +13,8 @@ const getApiBaseUrl = () => { return 'http://localhost:3002/api'; } - // Otherwise, use the configured base path + /api - return `${APP_CONFIG.basePath}/api`; + // For production, use relative /api path + return '/api'; }; const API_BASE_URL = getApiBaseUrl();