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