mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-09-18 01:19:24 +00:00
8 lines
235 B
TypeScript
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';
|
|
};
|