diff --git a/netlify.toml b/netlify.toml index 1299207..94a20af 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,9 +3,4 @@ NUXT_IMAGE_DOMAINS = "Comma separated list of domains. example.com,example2.com" [build] - command = "nuxi generate" - -[[headers]] - for = "/*.js" - [headers.values] - Cache-Control = "public, max-age=31536000, immutable" \ No newline at end of file + command = "nuxi generate" \ No newline at end of file diff --git a/woonuxt_base/nuxt.config.ts b/woonuxt_base/nuxt.config.ts index 2185c6f..d7cc07f 100644 --- a/woonuxt_base/nuxt.config.ts +++ b/woonuxt_base/nuxt.config.ts @@ -31,10 +31,7 @@ export default defineNuxtConfig({ }, image: { - provider: process.env.IMAGE_PROVIDER || 'ipx', domains: process.env.NUXT_IMAGE_DOMAINS ? process.env.NUXT_IMAGE_DOMAINS.replace(/ /g, '').split(',') : [], - format: ['webp'], - dir: resolve('./public'), }, hooks: {