diff --git a/next.config.ts b/next.config.ts index 1d59d1e..167a872 100644 --- a/next.config.ts +++ b/next.config.ts @@ -3,7 +3,7 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { /* config options here */ images: { - domains: ["pbs.twimg.com","vps.playpoolstudios.com"], // ✅ add Twitter's image domain + domains: ["pbs.twimg.com","vps.playpoolstudios.com", "api.duelfi.io"], // ✅ add Twitter's image domain }, }; diff --git a/src/components/GameHistory.tsx b/src/components/GameHistory.tsx index 10c01e3..86c0388 100644 --- a/src/components/GameHistory.tsx +++ b/src/components/GameHistory.tsx @@ -141,7 +141,7 @@ export default function GameHistoryModal({ const profileUrl = opponent?.x_profile_url || (opponent?.username - ? `https://vps.playpoolstudios.com/duelfi/profile_picture/${opponent.username}.jpg` + ? `${API_URL}profile_picture/${opponent.username}.jpg` : "/duelfiassets/default-avatar.png"); const gameImageUrl = gameImages[game.game] || "/duelfiassets/default-game-thumbnail.png"; diff --git a/src/components/Header.tsx b/src/components/Header.tsx index c1e9a00..0938810 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -158,7 +158,7 @@ export default function Header() { {/* Socials */} Instant Duels, Instant{" "} - Wins + Wins.