From 158ff098198da949d43dd8e2aeb4bcedbfe4ddef Mon Sep 17 00:00:00 2001 From: swordfest Date: Mon, 15 Jul 2024 14:35:42 -0400 Subject: [PATCH] some minor changes --- components/countries.tsx | 9 --------- next.config.js | 4 ++-- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/components/countries.tsx b/components/countries.tsx index 0115808..6f9cba3 100644 --- a/components/countries.tsx +++ b/components/countries.tsx @@ -35,15 +35,6 @@ export default function Countries(props: any) { setPageFilter(1); } }; - - - const fetcher = (...args: [any, any]) => - fetch(...args).then((res) => res.json()); - - const { data: countries, error } = useSWR( - "https://shadowmere.akiel.dev/api/country-codes", - fetcher - ); if (error) return <>Error; diff --git a/next.config.js b/next.config.js index 2c47348..53fb01e 100644 --- a/next.config.js +++ b/next.config.js @@ -11,13 +11,13 @@ const nextConfig = { { protocol: 'https', hostname: 'vangogh.teespring.com', - port: '', + port: '80', pathname: '/v3/image/**', }, { protocol: 'https', hostname: 'mockup-api.teespring.com', - port: '', + port: '80', pathname: '/v3/image/**', }, ],