Skip to content

Commit

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

[images]
remote_images = ["https://secure.woonuxt.com/.*"]
2 changes: 0 additions & 2 deletions woonuxt_base/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ export default defineNuxtConfig({

nitro: {
routeRules: {
'/': { prerender: true },
'/products/**': { swr: 3600 },
'/checkout/order-received/**': { ssr: false },
'/order-summary/**': { ssr: false },
},
Expand Down

0 comments on commit 2f50c2c

Please sign in to comment.