diafygi / gethttpsforfree

Source code for https://gethttpsforfree.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shortest domain error

rapsys opened this issue · comments

There seems a bug in js code, shortest_domain finish with largest one.

You would need to change sign line 322 of index.js to fix it.
if(shortest_domain.length < domains[d].length){
Should become :
if(shortest_domain.length > domains[d].length){