feat: add instagram image proxy to bypass client DNS blocks
This commit is contained in:
@@ -62,7 +62,7 @@ export default function InstagramFeed({ dict, posts = [] }: { dict: any, posts?:
|
||||
|
||||
<div className="relative aspect-[4/5] w-full overflow-hidden bg-sand-dark/10">
|
||||
<img
|
||||
src={post.imageUrl || ''}
|
||||
src={post.imageUrl ? `/api/instagram-proxy?url=${encodeURIComponent(post.imageUrl)}` : ''}
|
||||
alt={post.caption ? post.caption.substring(0, 50) : 'Instagram Post'}
|
||||
className="w-full h-full object-cover group-hover:scale-105 transition-transform duration-700"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user