From c37ab71a238d5ed483186d8f77caeaf2b308a5e6 Mon Sep 17 00:00:00 2001 From: Rama Priyanto Date: Mon, 3 Feb 2025 09:51:30 +0700 Subject: [PATCH] fix:magz detail --- components/main/detail/e-magazine-detail.tsx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/components/main/detail/e-magazine-detail.tsx b/components/main/detail/e-magazine-detail.tsx index ecd275c..648c768 100644 --- a/components/main/detail/e-magazine-detail.tsx +++ b/components/main/detail/e-magazine-detail.tsx @@ -33,7 +33,7 @@ export default function EMagazineDetail() { const doDownload = async (fileName: string, title: string): Promise => { try { const response = await fetch( - `http://38.47.180.165:8802/magazine-files/viewer/${fileName}` + `https://38.47.180.165:8802/magazine-files/viewer/${fileName}` ); if (!response.ok) { @@ -74,10 +74,19 @@ export default function EMagazineDetail() { {detailData?.title}
- emagazine */} + emagazine