Files
frontend-app-admin-console/src/data/utils.ts
2025-09-29 12:10:22 -03:00

5 lines
236 B
TypeScript

import { getConfig } from '@edx/frontend-platform';
export const getApiUrl = (path: string) => `${getConfig().LMS_BASE_URL}${path || ''}`;
export const getStudioApiUrl = (path: string) => `${getConfig().STUDIO_BASE_URL}${path || ''}`;