Skip to content

Commit b5a17c9

Browse files
committed
chore(llms-txt): add ISR cache rules and vitest server alias
Add ISR rules for llms_full.txt and root /llms.txt routes in nuxt.config.ts. Add #server alias to vitest config for resolving server utility imports in unit tests.
1 parent 00566e0 commit b5a17c9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

nuxt.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ export default defineNuxtConfig({
126126
'/api/registry/provenance/**': { isr: true, cache: { maxAge: 365 * 24 * 60 * 60 } },
127127
'/api/registry/files/**': { isr: true, cache: { maxAge: 365 * 24 * 60 * 60 } },
128128
'/package/**/llms.txt': { isr: 3600 },
129+
'/package/**/llms_full.txt': { isr: 3600 },
130+
'/llms.txt': { isr: 3600 },
129131
'/api/registry/package-meta/**': { isr: 300 },
130132
'/:pkg/.well-known/skills/**': { isr: 3600 },
131133
'/:scope/:pkg/.well-known/skills/**': { isr: 3600 },

0 commit comments

Comments
 (0)