diff --git a/nuxt.config.ts b/nuxt.config.ts index 5f0286a5..b068c41c 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -85,10 +85,10 @@ export default defineNuxtConfig({ }, routeRules: { '/api/og-image/**': { - static: true, - cache: { - maxAge: 86400, // 1 day - }, + static: isCI, + cache: !isCI + ? { maxAge: 86400 } // 1 day + : {}, }, }, },