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'], routes: ['/', '/200.html'],
}, },
routeRules: { routeRules: {
'/api/og-image': { '/api/og-image/**': {
// static: true, // Not working, gives 502: `Function is not an on-demand builder.` static: true,
cache: { cache: {
maxAge: 86400, // 1 day maxAge: 86400, // 1 day
}, },