mirror of https://github.com/coddrago/Heroku
Update proxypass.py
parent
d4a3b8164d
commit
b32ab68ecf
|
@ -64,14 +64,7 @@ class ProxyPasser:
|
|||
return self._tunnel_url
|
||||
else:
|
||||
self.kill()
|
||||
|
||||
if "DOCKER" in os.environ:
|
||||
# We're in a Docker container, so we can't use ssh
|
||||
# Also, the concept of Docker is to keep
|
||||
# everything isolated, so we can't proxy-pass to
|
||||
# open web.
|
||||
return None
|
||||
|
||||
# вырезана проверка на контейнер
|
||||
logger.debug("Starting proxy pass shell for port %d", port)
|
||||
self._sproc = await asyncio.create_subprocess_shell(
|
||||
(
|
||||
|
|
Loading…
Reference in New Issue