diff --git a/astro.config.mjs b/astro.config.mjs index f125b03..aa8bc1f 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -17,5 +17,8 @@ export default defineConfig({ prefetch: { defaultStrategy: 'viewport', prefetchAll: true + }, + image: { + domains: ['images-static.iracing.com'] } }); diff --git a/src/lib/components/subsession/header.astro b/src/lib/components/subsession/header.astro index 4399915..48d6014 100644 --- a/src/lib/components/subsession/header.astro +++ b/src/lib/components/subsession/header.astro @@ -11,7 +11,7 @@ const { series_logo, season_name, race_week_num, max_weeks } = subsession; src={`https://images-static.iracing.com/img/logos/series/${series_logo}`} alt="Series Logo" width={300} - height={100} + height={175} format="avif" loading="eager" />