We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f5a988 commit 6b8bfb0Copy full SHA for 6b8bfb0
1 file changed
nuxt.config.ts
@@ -100,6 +100,13 @@ export default defineNuxtConfig({
100
routeRules: {
101
// API routes
102
'/api/**': { isr: 60 },
103
+ '/api/card/**': {
104
+ isr: {
105
+ expiration: 60,
106
+ passQuery: true,
107
+ allowQuery: ['theme', 'color'],
108
+ },
109
110
'/api/registry/badge/**': {
111
isr: {
112
expiration: 60 * 60 /* one hour */,
0 commit comments