diff --git a/nuxt.config.ts b/nuxt.config.ts index b642abaa..c99adb81 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -84,7 +84,10 @@ export default defineNuxtConfig({ }, routeRules: { '/api/og-image': { - static: true, + // static: true, // Not working, gives 502: `Function is not an on-demand builder.` + cache: { + maxAge: 86400, // 1 day + }, }, }, },