Add verify=False for the test_url route

pull/265/head
kidburglar 6 years ago
parent db16f7df4b
commit 83237af9ce

@ -1736,7 +1736,7 @@ def api_history():
def test_url(protocol, url): def test_url(protocol, url):
url = urllib.unquote(url) url = urllib.unquote(url)
try: try:
result = requests.get(protocol + "://" + url, allow_redirects=False).json()['version'] result = requests.get(protocol + "://" + url, allow_redirects=False, verify=False).json()['version']
except: except:
return dict(status=False) return dict(status=False)
else: else:

Loading…
Cancel
Save