[fix] revert globalapi proxy

This commit is contained in:
kwaroran
2023-07-04 02:19:52 +09:00
committed by GitHub
parent 75271eddab
commit 03a901a069

View File

@@ -624,7 +624,7 @@ export async function globalFetch(url:string, arg:{plainFetchForce?:boolean,body
}
}
else{
const furl = (((!isNodeServer) && (!isTauri)) ? hubURL : '') + `/proxy?url=${encodeURIComponent(url)}`
const furl = `/proxy?url=${encodeURIComponent(url)}`
const da = await fetch(furl, {
body: body,