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'],
|
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
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue