From 15cc301bc384b348e11b1843d3c7a1a298ca1b82 Mon Sep 17 00:00:00 2001 From: Scott Kennedy Date: Thu, 11 Apr 2024 23:44:10 +0100 Subject: [PATCH] Image fix test --- netlify.toml | 5 +---- woonuxt_base/nuxt.config.ts | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/netlify.toml b/netlify.toml index 215f573..3768647 100644 --- a/netlify.toml +++ b/netlify.toml @@ -28,7 +28,4 @@ [[headers]] for = "/*.webp" [headers.values] - Cache-Control = "public, max-age=31536000, immutable" - -[images] - remote_images = ["https://secure.woonuxt.com/.*"] \ No newline at end of file + Cache-Control = "public, max-age=31536000, immutable" \ No newline at end of file diff --git a/woonuxt_base/nuxt.config.ts b/woonuxt_base/nuxt.config.ts index d7cc07f..0b5ac60 100644 --- a/woonuxt_base/nuxt.config.ts +++ b/woonuxt_base/nuxt.config.ts @@ -31,6 +31,7 @@ export default defineNuxtConfig({ }, image: { + provider: 'ipx', domains: process.env.NUXT_IMAGE_DOMAINS ? process.env.NUXT_IMAGE_DOMAINS.replace(/ /g, '').split(',') : [], },