mirror of
https://github.com/netzbegruenung/green-spider.git
synced 2024-04-29 07:44:50 +02:00
Increase score for HTTPS
This commit is contained in:
parent
b530ebca46
commit
7dd451c3b6
|
@ -454,7 +454,7 @@ def check_site(entry):
|
||||||
# HTTPS
|
# HTTPS
|
||||||
for item in result['details']['urlchecks']:
|
for item in result['details']['urlchecks']:
|
||||||
if item['error'] is None and item['url'].startswith('https://'):
|
if item['error'] is None and item['url'].startswith('https://'):
|
||||||
result['result']['HTTPS'] = {'value': True, 'score': 1}
|
result['result']['HTTPS'] = {'value': True, 'score': 2}
|
||||||
break
|
break
|
||||||
|
|
||||||
# WWW_OPTIONAL
|
# WWW_OPTIONAL
|
||||||
|
|
Loading…
Reference in a new issue