Skip to content

Commit 117fc35

Browse files
committed
fix: add style to allowQuery in badge API route
Follow-up after npmx-dev#1487
1 parent 7a30866 commit 117fc35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export default defineNuxtConfig({
101101
isr: {
102102
expiration: 60 * 60 /* one hour */,
103103
passQuery: true,
104-
allowQuery: ['color', 'labelColor', 'label', 'name'],
104+
allowQuery: ['color', 'labelColor', 'label', 'name', 'style'],
105105
},
106106
},
107107
'/api/registry/downloads/**': {

0 commit comments

Comments
 (0)