diff --git a/components/modals/image-viewer-modal.tsx b/components/modals/image-viewer-modal.tsx index 0d16c44..a792e13 100644 --- a/components/modals/image-viewer-modal.tsx +++ b/components/modals/image-viewer-modal.tsx @@ -1,6 +1,5 @@ import { Dialog, DialogContent } from "@/components/ui/dialog"; import { X, ChevronLeft, ChevronRight } from "lucide-react"; -import Image from "next/image"; import { Button } from "@/components/ui/button"; interface ImageViewerModalProps { @@ -43,14 +42,12 @@ export function ImageViewerModal({ isOpen, onClose, imageUrl, onNavigate }: Imag )} -
- + Full size image
diff --git a/next.config.mjs b/next.config.mjs index 43d1187..c51c546 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -4,8 +4,12 @@ const nextConfig = { remotePatterns: [ { protocol: "https", - hostname: "**", + hostname: "api.telegram.org", }, + { + protocol: "https", + hostname: "telegram.org", + } ], }, };