From d37bde44b15ccb67df06e7c7e8de1e1b9fc53310 Mon Sep 17 00:00:00 2001 From: AzenKain Date: Fri, 20 Feb 2026 22:12:06 +0700 Subject: [PATCH] UPDATE: Change CDN --- next.config.ts | 6 +++--- src/components/card/lightconeCard.tsx | 3 ++- src/components/card/profileCard.tsx | 4 ++++ src/components/card/relicCard.tsx | 15 ++++++++++++++- src/components/eidolonsInfo/index.tsx | 2 ++ 5 files changed, 25 insertions(+), 5 deletions(-) diff --git a/next.config.ts b/next.config.ts index 68fb998..06d4cd5 100644 --- a/next.config.ts +++ b/next.config.ts @@ -30,8 +30,8 @@ const nextConfig: NextConfig = { pathname: "**", }, { - protocol: "http", - hostname: "cdn.kain.id.vn", + protocol: "https", + hostname: "r2.kain.id.vn", pathname: "**", } ], @@ -40,7 +40,7 @@ const nextConfig: NextConfig = { styledComponents: true, }, env: { - CDN_URL: "https://cdn.kain.id.vn/firefly/assets/asbres", + CDN_URL: "https:/r2.kain.id.vn/asbres", }, }; diff --git a/src/components/card/lightconeCard.tsx b/src/components/card/lightconeCard.tsx index afd140a..f766a99 100644 --- a/src/components/card/lightconeCard.tsx +++ b/src/components/card/lightconeCard.tsx @@ -31,7 +31,8 @@ export default function LightconeCard({ data }: LightconeCardProps) {
{mapLightconeInfo[profile.lightcone.item_id.toString()]?.Name}
Relic { case '1': return (
Head { case '2': return (
Hand { case '3': return (
Body { case '4': return (
Foot { case '5': return (
Neck { case '6': return (
Object Relic