Initial Commit
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export function proxyImage(url: string | null | undefined): string | undefined {
|
||||
if (!url) return undefined;
|
||||
return `/image-proxy?url=${encodeURIComponent(url)}`;
|
||||
}
|
||||
Reference in New Issue
Block a user