From dff937aa89c9833f623514af90a36559baa4bedf Mon Sep 17 00:00:00 2001 From: Shinigami92 Date: Mon, 12 Dec 2022 19:29:57 +0100 Subject: [PATCH] use new glob --- nuxt.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index c99adb81..b0a140f5 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -83,8 +83,8 @@ export default defineNuxtConfig({ routes: ['/', '/200.html'], }, routeRules: { - '/api/og-image': { - // static: true, // Not working, gives 502: `Function is not an on-demand builder.` + '/api/og-image/**': { + static: true, cache: { maxAge: 86400, // 1 day },