Comment out the getThemeImageUrl function in theme utility for future reference, preserving the original implementation while preventing execution.
This commit is contained in:
parent
504574c80c
commit
b280bb5401
@ -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}`;
|
||||
// };
|
||||
|
||||
Loading…
Reference in New Issue
Block a user