mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-02-17 13:52:14 +01:00
# Description of Changes Refactors code to avoid circular imports everywhere and adds linting for circular imports to ensure it doesn't happen again. Most changes are around the tool registry, making it a provider, and splitting into tool types to make it easier for things like Automate to only have access to tools excluding itself.
7 lines
190 B
TypeScript
7 lines
190 B
TypeScript
import { useAppConfig } from './useAppConfig';
|
|
|
|
export const useBaseUrl = (): string => {
|
|
const { config } = useAppConfig();
|
|
return config?.baseUrl || 'https://demo.stirlingpdf.com';
|
|
};
|