remove double / from wellknown fetch
This commit is contained in:
parent
316fbf425b
commit
d88de12840
1 changed files with 1 additions and 1 deletions
|
@ -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{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue