mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2024-10-01 03:35:38 -04:00
daemon: Use the proxy setting provided by the command line.
This commit is contained in:
parent
a3643cf6b2
commit
95a6a14049
@ -327,9 +327,9 @@ class ProxyDaemon:
|
||||
self.default_session = None
|
||||
|
||||
|
||||
async def init(homeserver, proxy, ssl):
|
||||
async def init(homeserver, http_proxy, ssl):
|
||||
"""Initialize the proxy and the http server."""
|
||||
proxy = ProxyDaemon(homeserver, proxy="http://localhost:8080", ssl=ssl)
|
||||
proxy = ProxyDaemon(homeserver, proxy=http_proxy, ssl=ssl)
|
||||
|
||||
app = web.Application()
|
||||
app.add_routes([
|
||||
|
Loading…
Reference in New Issue
Block a user