Skip to content

Commit

Permalink
Use did instead of handle
Browse files Browse the repository at this point in the history
  • Loading branch information
darnfish committed Nov 10, 2023
1 parent 4206d4d commit 0d8d0d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/redirect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ export default async function handler(
if(rows.length === 0)
return response.redirect('https://skyna.me')

response.redirect(`https://bsky.app/profile/${subdomain}.${domain}`)
response.redirect(`https://bsky.app/profile/${rows[0].actor}`)
}

0 comments on commit 0d8d0d8

Please sign in to comment.