Fix jwt-token

This commit is contained in:
2025-09-12 22:42:48 +02:00
parent 426f9a1b96
commit f34cc187f2

View File

@@ -13,8 +13,8 @@ const getApiBaseUrl = () => {
return 'http://localhost:3002/api'; return 'http://localhost:3002/api';
} }
// Otherwise, use the configured base path + /api // For production, use relative /api path
return `${APP_CONFIG.basePath}/api`; return '/api';
}; };
const API_BASE_URL = getApiBaseUrl(); const API_BASE_URL = getApiBaseUrl();