Skip to content

Commit 2dd81c2

Browse files
Adebesin-Cellclaude
andcommitted
fix: scope query passthrough to compare OG image route only
Keep the default ISR config for all other OG images and only enable passQuery + allowQuery for the compare page OG image route. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b828bce commit 2dd81c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nuxt.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ 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__/**': {
131+
'/__og-image__/**': getISRConfig(3600),
132+
'/__og-image__/image/compare/**': {
132133
isr: {
133134
expiration: 3600,
134135
passQuery: true,

0 commit comments

Comments
 (0)