comments
This commit is contained in:
parent
a420666926
commit
9a3fd95636
2 changed files with 1 additions and 1 deletions
|
@ -124,6 +124,7 @@ class UiRequest(object):
|
||||||
).encode("utf8")
|
).encode("utf8")
|
||||||
return iter([ret_error, ret_body])
|
return iter([ret_error, ret_body])
|
||||||
|
|
||||||
|
# TODO: phase out .bit support
|
||||||
# Prepend .bit host for transparent proxy
|
# Prepend .bit host for transparent proxy
|
||||||
if self.isDomain(self.env.get("HTTP_HOST")):
|
if self.isDomain(self.env.get("HTTP_HOST")):
|
||||||
path = re.sub("^/", "/" + self.env.get("HTTP_HOST") + "/", path)
|
path = re.sub("^/", "/" + self.env.get("HTTP_HOST") + "/", path)
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# Included modules
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import stat
|
import stat
|
||||||
|
|
Loading…
Reference in a new issue