lists: override main domain for smart proxy origins (temporary workaround)
This commit is contained in:
parent
65c5352408
commit
6d989db3ef
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ def mirror_sites():
|
|||
return {
|
||||
"version": "2.0",
|
||||
"sites": [{
|
||||
"main_domain": x.domain_name.replace("www.", ""),
|
||||
"main_domain": x.description[len("proxy:"):].replace("www.", "") if x.description.startswith("proxy:") else x.domain_name.replace("www.", ""),
|
||||
"available_alternatives": [
|
||||
{
|
||||
"proto": "tor" if ".onion" in a.url else "https",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue