Fix jwt-token
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user