mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
less strict domain check
This commit is contained in:
parent
f4663b42db
commit
2bd77de776
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ def check_url(url):
|
||||||
if new_location == url:
|
if new_location == url:
|
||||||
# self-loop
|
# self-loop
|
||||||
return False
|
return False
|
||||||
if "github-cloud.s3.amazonaws.com/releases" in new_location:
|
if "amazonaws.com" in new_location:
|
||||||
# HEAD doesnt work on s3 links, so assume its good
|
# HEAD doesnt work on s3 links, so assume its good
|
||||||
return True
|
return True
|
||||||
return check_url(new_location)
|
return check_url(new_location)
|
||||||
|
|
Loading…
Add table
Reference in a new issue