diff --git a/astro.config.mjs b/astro.config.mjs index 886b8db..7fa1202 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -76,6 +76,7 @@ export default defineConfig({ image: { service: squooshImageService(), + domains: ["cdn.pixabay.com"], }, markdown: { diff --git a/src/components/common/Image.astro b/src/components/common/Image.astro index 019d6a5..a0f7ddf 100644 --- a/src/components/common/Image.astro +++ b/src/components/common/Image.astro @@ -49,4 +49,4 @@ if (_image !== null && typeof _image === 'object') { } --- -{!image ? : } +{!image ? : }