Skip to content

Commit 4d70dd8

Browse files
committed
fix: pass uri query for bluesky comments
1 parent de28051 commit 4d70dd8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

nuxt.config.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default defineNuxtConfig({
5555
},
5656
},
5757

58-
devtools: { enabled: !true },
58+
devtools: { enabled: true },
5959

6060
devServer: {
6161
// Used with atproto oauth
@@ -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-comments': {
140+
isr: {
141+
expiration: 60 * 60 /* one hour */,
142+
passQuery: true,
143+
allowQuery: ['uri'],
144+
},
145+
cache: { maxAge: 3600 },
146+
},
139147
'/api/atproto/bluesky-author-profiles': {
140148
isr: {
141149
expiration: 60 * 60 /* one hour */,

0 commit comments

Comments
 (0)