diff --git a/src/webpage/login.ts b/src/webpage/login.ts index ebbe0f9..eb417c4 100644 --- a/src/webpage/login.ts +++ b/src/webpage/login.ts @@ -261,7 +261,7 @@ async function getapiurls(str: string): Promise< } let api: string; try{ - const info = await fetch(`${str}/.well-known/spacebar`).then(x=>x.json() + const info = await fetch(`${str}.well-known/spacebar`).then(x=>x.json() ); api = info.api; }catch{