Skip to content

Commit 2ea6f11

Browse files
committed
fix: allow author query for author profiles
1 parent a875f23 commit 2ea6f11

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

nuxt.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,14 @@ export default defineNuxtConfig({
136136
// never cache
137137
'/api/auth/**': { isr: false, cache: false },
138138
'/api/social/**': { isr: false, cache: false },
139+
'/api/atproto/bluesky-author-profiles': {
140+
isr: {
141+
expiration: 60 * 60 /* one hour */,
142+
passQuery: true,
143+
allowQuery: ['authors'],
144+
},
145+
cache: { maxAge: 3600 },
146+
},
139147
'/api/opensearch/suggestions': {
140148
isr: {
141149
expiration: 60 * 60 * 24 /* one day */,

0 commit comments

Comments
 (0)