use new glob

This commit is contained in:
Shinigami92 2022-12-12 19:29:57 +01:00
parent ed091d284f
commit dff937aa89

View file

@ -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
},