Skip to content

Commit

Permalink
fixed eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
chschnell committed Dec 1, 2024
1 parent f66e39c commit 32f0cb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1737,7 +1737,7 @@
settings.relay_url = $("relay_url").value;
if(!DEFAULT_NETWORKING_PROXIES.includes(settings.relay_url)) new_query_args.set("relay_url", settings.relay_url);
}
if (settings.relay_url.startsWith("fetch") && settings.relay_url.length > 6 && settings.relay_url[5] === ":") {
if(settings.relay_url.startsWith("fetch") && settings.relay_url.length > 6 && settings.relay_url[5] === ":") {
settings.cors_proxy = settings.relay_url.slice(6);
settings.relay_url = "fetch";
}
Expand Down

0 comments on commit 32f0cb2

Please sign in to comment.