From d821186b97b8cf0374a80a670ac8c087701a4da1 Mon Sep 17 00:00:00 2001 From: Scott Kennedy Date: Sat, 25 Mar 2023 21:42:11 +0000 Subject: [PATCH] headers --- netlify.toml | 5 ----- nuxt.config.ts | 1 - 2 files changed, 6 deletions(-) diff --git a/netlify.toml b/netlify.toml index 7bf823e..e35c5a9 100644 --- a/netlify.toml +++ b/netlify.toml @@ -5,11 +5,6 @@ [build] command = "npm run generate" -[[headers]] - for = "/_nuxt/*" - [headers.values] - Cache-Control = "public, max-age=31536000, immutable" - [[headers]] for = "/*.js" [headers.values] diff --git a/nuxt.config.ts b/nuxt.config.ts index ff72660..6674598 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -17,7 +17,6 @@ export default defineNuxtConfig({ image: { domains: process.env.NUXT_IMAGE_DOMAINS ? process.env.NUXT_IMAGE_DOMAINS.replace(/ /g, '').split(',') : [], - dir: 'public', }, runtimeConfig: {