From b280bb5401bbc94421176121cc1b19b4fb4ec27a Mon Sep 17 00:00:00 2001 From: Yashwin Date: Wed, 4 Feb 2026 10:41:50 +0530 Subject: [PATCH] Comment out the getThemeImageUrl function in theme utility for future reference, preserving the original implementation while preventing execution. --- src/utils/theme.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/utils/theme.ts b/src/utils/theme.ts index 2162016..d5b6feb 100644 --- a/src/utils/theme.ts +++ b/src/utils/theme.ts @@ -68,9 +68,9 @@ export const applyThemeColors = ( /** * Get full URL for logo/favicon */ -export const getThemeImageUrl = (filePath: string | null): string | null => { - if (!filePath) return null; +// export const getThemeImageUrl = (filePath: string | null): string | null => { +// if (!filePath) return null; - const apiBaseUrl = import.meta.env.VITE_API_BASE_URL || 'http://localhost:3000/api/v1'; - return `${apiBaseUrl}/uploads/${filePath}`; -}; +// const apiBaseUrl = import.meta.env.VITE_API_BASE_URL || 'http://localhost:3000/api/v1'; +// return `${apiBaseUrl}/uploads/${filePath}`; +// };