proxied fetch
This commit is contained in:
@@ -329,7 +329,7 @@ export async function getReqUrl(port: number, path: string, isCore: boolean = fa
|
||||
await GetProxyPort().then(p => commonStore.setProxyPort(p));
|
||||
return {
|
||||
url: `http://127.0.0.1:${commonStore.proxyPort}`,
|
||||
headers: { 'Real-Target': realUrl }
|
||||
headers: { 'Real-Target': encodeURIComponent(realUrl) }
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user