mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-01-14 20:11:17 +01:00
mege fix
This commit is contained in:
parent
1d49e58e96
commit
aeebcf794f
19
frontend/src/proprietary/utils/urlMapping.ts
Normal file
19
frontend/src/proprietary/utils/urlMapping.ts
Normal file
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Proprietary URL mappings.
|
||||
* This file overrides src/core/utils/urlMapping.ts
|
||||
* to add proprietary-specific URL mappings.
|
||||
*/
|
||||
|
||||
import { ToolId } from '@app/types/toolId';
|
||||
import { URL_TO_TOOL_MAP as CORE_URL_TO_TOOL_MAP } from '@core/utils/urlMapping';
|
||||
|
||||
// Proprietary URL mappings
|
||||
const PROPRIETARY_URL_MAPPINGS: Record<string, ToolId> = {
|
||||
'/pdf-text-editor': 'pdfTextEditor',
|
||||
};
|
||||
|
||||
// Merge core and proprietary mappings
|
||||
export const URL_TO_TOOL_MAP: Record<string, ToolId> = {
|
||||
...CORE_URL_TO_TOOL_MAP,
|
||||
...PROPRIETARY_URL_MAPPINGS,
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user