Skip to content

Commit

Permalink
Image fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyzen committed Apr 11, 2024
1 parent 35d0d43 commit 15cc301
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,4 @@
[[headers]]
for = "/*.webp"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"

[images]
remote_images = ["https://secure.woonuxt.com/.*"]
Cache-Control = "public, max-age=31536000, immutable"
1 change: 1 addition & 0 deletions woonuxt_base/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export default defineNuxtConfig({
},

image: {
provider: 'ipx',
domains: process.env.NUXT_IMAGE_DOMAINS ? process.env.NUXT_IMAGE_DOMAINS.replace(/ /g, '').split(',') : [],
},

Expand Down

0 comments on commit 15cc301

Please sign in to comment.