feat: allow search .bsky.social account #notesearch
This commit is contained in:
parent
9bd46e6351
commit
03ed6aaa90
@ -175,7 +175,12 @@ async function search() {
|
||||
text: i18n.ts.lookupConfirm,
|
||||
});
|
||||
if (!confirm.canceled) {
|
||||
router.push(`/${query}`);
|
||||
if (query.endsWith('.bsky.social')) {
|
||||
// convert to bsky bridge
|
||||
router.push(`/${query}@bsky.brid.gy`);
|
||||
} else {
|
||||
router.push(`/${query}`);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user