remove double / from wellknown fetch
This commit is contained in:
@@ -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{
|
||||||
|
Reference in New Issue
Block a user