Skip to content

Commit 6f82a1b

Browse files
committed
fix: remove getKey from bluesky-author-profiles.get.ts endpoint
1 parent 0d952fa commit 6f82a1b

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

nuxt.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ export default defineNuxtConfig({
205205
compatibilityDate: '2026-01-31',
206206

207207
nitro: {
208+
debug: true,
209+
logLevel: 999,
208210
externals: {
209211
inline: [
210212
'shiki',

server/api/atproto/bluesky-author-profiles.get.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ export default defineCachedEventHandler(
7373
{
7474
name: 'author-profiles',
7575
maxAge: CACHE_MAX_AGE_ONE_DAY,
76-
getKey: event => {
77-
const { authors } = getQuery(event)
78-
return `author-profiles:${authors ?? 'npmx.dev'}`
79-
},
76+
// getKey: event => {
77+
// const { authors } = getQuery(event)
78+
// return `author-profiles:${authors ?? 'npmx.dev'}`
79+
// },
8080
},
8181
)

0 commit comments

Comments
 (0)