We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v86/src/browser/starter.js
Lines 314 to 317 in 298da23
My suggestion would be to change this to:
if(relay_url.startsWith("fetch")) { const fetch_options = {}; if(relay_url.length > 6 && relay_url[5] === ":") { fetch_options.cors_proxy = relay_url.slice(6); } this.network_adapter = new FetchNetworkAdapter(this.bus, fetch_options); }
Things would behave as before when passing only fetch to config.net_device.relay_url, but when passing something like:
fetch
config.net_device.relay_url
fetch:https://example.com/?url=
then CORS proxy https://example.com/?url= would be used.
https://example.com/?url=
The text was updated successfully, but these errors were encountered:
Cheers!
Sorry, something went wrong.
No branches or pull requests
v86/src/browser/starter.js
Lines 314 to 317 in 298da23
My suggestion would be to change this to:
Things would behave as before when passing only
fetch
toconfig.net_device.relay_url
, but when passing something like:then CORS proxy
https://example.com/?url=
would be used.The text was updated successfully, but these errors were encountered: