diff --git a/packages/client/src/scripts/lookup-instance.ts b/packages/client/src/scripts/lookup-instance.ts index f3e92b02d..96b771c74 100644 --- a/packages/client/src/scripts/lookup-instance.ts +++ b/packages/client/src/scripts/lookup-instance.ts @@ -9,9 +9,7 @@ export async function lookupInstance() { os.api( "federation/show-instance", - q.startsWith("http://") || q.startsWith("https://") - ? { url: q.trim() } - : { fileId: q.trim() }, + q.startsWith("http://") || q.startsWith("https://") ? { host: q.replace("https://", "") } : { host: q } ) .then((instance) => { os.pageWindow(`/instance-info/${instance.host}`);