remove double / from wellknown fetch

This commit is contained in:
MathMan05 2024-09-20 15:40:45 -05:00
parent 316fbf425b
commit d88de12840

View file

@ -261,7 +261,7 @@ async function getapiurls(str: string): Promise<
} }
let api: string; let api: string;
try{ 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; api = info.api;
}catch{ }catch{