This commit is contained in:
caryoscelus 2022-09-19 12:12:22 +00:00
parent a420666926
commit 9a3fd95636
2 changed files with 1 additions and 1 deletions

View file

@ -124,6 +124,7 @@ class UiRequest(object):
).encode("utf8")
return iter([ret_error, ret_body])
# TODO: phase out .bit support
# Prepend .bit host for transparent proxy
if self.isDomain(self.env.get("HTTP_HOST")):
path = re.sub("^/", "/" + self.env.get("HTTP_HOST") + "/", path)

View file

@ -1,4 +1,3 @@
# Included modules
import os
import sys
import stat