From a1630af80734656116fd3ee68e19a24c8b1f15d1 Mon Sep 17 00:00:00 2001 From: NotII <46204250+NotII@users.noreply.github.com> Date: Mon, 17 Mar 2025 20:21:10 +0100 Subject: [PATCH] updte --- components/modals/image-viewer-modal.tsx | 11 ++++------- next.config.mjs | 6 +++++- 2 files changed, 9 insertions(+), 8 deletions(-) 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", + } ], }, };