2025-09-17 08:34:55 +01:00

8 lines
235 B
TypeScript

import { useAppConfig } from '../hooks/useAppConfig';
// Get base URL from app config with fallback
export const getBaseUrl = (): string => {
const { config } = useAppConfig();
return config?.baseUrl || 'https://stirling.com';
};