Skip to content

Commit 0241a46

Browse files
committed
test: add specific rule for og-image in config
1 parent cb586a3 commit 0241a46

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
@@ -86,7 +86,8 @@ export default defineNuxtConfig({
8686
routeRules: {
8787
'/': { prerender: true },
8888
'/opensearch.xml': { isr: true },
89-
// '/**': { isr: getISRConfig(60, true) },
89+
'/__og-image__/**': { ssr: true },
90+
'/**': { isr: getISRConfig(60, true) },
9091
'/api/**': { isr: 60 },
9192
'/200.html': { prerender: true },
9293
'/package/**': { isr: getISRConfig(60, true) },

0 commit comments

Comments
 (0)