daemon: Don't use a proxy for the connections.

This commit is contained in:
Damir Jelić 2019-03-25 14:03:27 +01:00
parent 05c8f22b58
commit 6a9a75d3f7

View File

@ -258,7 +258,8 @@ class ProxyDaemon:
async def init():
"""Initialize the proxy and the http server."""
proxy = ProxyDaemon(HOMESERVER, proxy="http://localhost:8080", ssl=False)
# proxy = ProxyDaemon(HOMESERVER, proxy="http://localhost:8080", ssl=False)
proxy = ProxyDaemon(HOMESERVER)
app = web.Application()
app.add_routes([
web.post("/_matrix/client/r0/login", proxy.login),