Comment out the getThemeImageUrl function in theme utility for future reference, preserving the original implementation while preventing execution.

This commit is contained in:
Yashwin 2026-02-04 10:41:50 +05:30
parent 504574c80c
commit b280bb5401

View File

@ -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}`;
// };