From ce0c7383fdb10416c9a2a5bb50ecbd414d3589b3 Mon Sep 17 00:00:00 2001 From: Julien Nahum Date: Mon, 8 Jan 2024 19:58:07 +0100 Subject: [PATCH] Fix SVGs with NuxtImage --- client/nuxt.config.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/client/nuxt.config.ts b/client/nuxt.config.ts index 5a940c5..0af262d 100644 --- a/client/nuxt.config.ts +++ b/client/nuxt.config.ts @@ -49,8 +49,12 @@ export default defineNuxtConfig({ }, '~/components', ], - image: { - dangerouslyAllowSVG: true, + nitro: { + awsAmplify: { + imageSettings: { + dangerouslyAllowSVG: true + } + } }, sitemap, runtimeConfig