Fix bug from capitals in 'https://'

master
Tanner Collin 12 months ago
parent 7943e291fb
commit 61225ebd20
  1. 2143
      index.html.bak
  2. 2120
      reversed.txt
  3. 2
      t0sig.py

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -52,7 +52,7 @@ async def new_message(event):
if website:
prefixes = ['http://', 'https://', 'gemini://', 'gopher://']
for prefix in prefixes:
if website.startswith(prefix):
if website.lower().startswith(prefix):
break
else: # for loop
website = 'http://' + website

Loading…
Cancel
Save