Skip to content

Commit 752bd93

Browse files
committed
fix: enable passQuery for timeline API
1 parent de53377 commit 752bd93

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

nuxt.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,13 @@ export default defineNuxtConfig({
121121
allowQuery: ['mode', 'filterOldVersions', 'filterThreshold'],
122122
},
123123
},
124+
'/api/registry/timeline/**': {
125+
isr: {
126+
expiration: 300,
127+
passQuery: true,
128+
allowQuery: ['offset', 'limit'],
129+
},
130+
},
124131
'/api/registry/docs/**': { isr: true, cache: { maxAge: 365 * 24 * 60 * 60 } },
125132
'/api/registry/file/**': { isr: true, cache: { maxAge: 365 * 24 * 60 * 60 } },
126133
'/api/registry/provenance/**': { isr: true, cache: { maxAge: 365 * 24 * 60 * 60 } },

0 commit comments

Comments
 (0)