Skip to content

Commit 038cbc3

Browse files
committed
chore: set default cache key to author-profiles:npmx.dev
1 parent dc35f59 commit 038cbc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export default defineCachedEventHandler(
8181
maxAge: CACHE_MAX_AGE_ONE_DAY,
8282
getKey: event => {
8383
const { authors } = getQuery(event)
84-
return `author-profiles:${authors ?? ''}`
84+
return `author-profiles:${authors ?? 'npmx.dev'}`
8585
},
8686
},
8787
)

0 commit comments

Comments
 (0)