File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const props = withDefaults(
88 theme? : ' light' | ' dark'
99 color? : string
1010 }>(),
11- { theme: ' light ' },
11+ { theme: ' dark ' },
1212)
1313
1414const t = computed (() => SHARE_CARD_THEMES [props .theme ])
Original file line number Diff line number Diff line change @@ -128,7 +128,13 @@ export default defineNuxtConfig({
128128 '/api/registry/package-meta/**' : { isr : 300 } ,
129129 '/:pkg/.well-known/skills/**' : { isr : 3600 } ,
130130 '/:scope/:pkg/.well-known/skills/**' : { isr : 3600 } ,
131- '/__og-image__/**' : getISRConfig ( 60 ) ,
131+ '/__og-image__/**' : {
132+ isr : {
133+ expiration : 60 ,
134+ passQuery : true ,
135+ allowQuery : [ 'theme' , 'color' ] ,
136+ } ,
137+ } ,
132138 '/_avatar/**' : { isr : 3600 , proxy : 'https://www.gravatar.com/avatar/**' } ,
133139 '/opensearch.xml' : { isr : true } ,
134140 '/oauth-client-metadata.json' : { prerender : true } ,
You can’t perform that action at this time.
0 commit comments