forked from Mirrors/elk
use new glob
This commit is contained in:
parent
ed091d284f
commit
dff937aa89
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue