diff options
Diffstat (limited to 'lib/utils.coffee')
| -rw-r--r-- | lib/utils.coffee | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/lib/utils.coffee b/lib/utils.coffee index c5bfcc26..00dce5b4 100644 --- a/lib/utils.coffee +++ b/lib/utils.coffee @@ -52,19 +52,8 @@ Utils = '(?::(\\d+))?$' # port number (optional) => \4 ) - # Official ASCII TLDs that are longer than 3 characters - longTlds = [ - 'arpa' - 'asia' - 'coop' - 'info' - 'jobs' - 'local' - 'mobi' - 'museum' - 'name' - 'onion' # Inofficial .onion TLD used by TOR - ] + # Official ASCII TLDs that are longer than 3 characters + inofficial .onion TLD used by TOR + longTlds = ['arpa', 'asia', 'coop', 'info', 'jobs', 'local', 'mobi', 'museum', 'name', 'onion'] specialHostNames = ['localhost'] |
