diff --git a/app/hooks/StrapiAPI.ts b/app/hooks/StrapiAPI.ts index fa57d918b..e03fcd617 100644 --- a/app/hooks/StrapiAPI.ts +++ b/app/hooks/StrapiAPI.ts @@ -91,10 +91,7 @@ export function useHomePageEventsData() { const dataFetcher = () => fetcher<{ data: Array> }>( - `${config.STRAPI_API_URL}/api/${path}`, - { - Authorization: `Bearer ${config.STRAPI_API_TOKEN}`, - } + `${config.STRAPI_API_URL}/api/${path}` ); const { data, error, isLoading } = useSWR(`/api/${path}`, dataFetcher) as {