1
0

Remove SSL options from config.

This is out of scope for Electrum; HTTP services that require SSL
should be exposed to the world through a reverse proxy.
This commit is contained in:
ThomasV
2023-08-10 17:24:23 +02:00
parent 5a3abdde85
commit 012ce1c1bb
4 changed files with 4 additions and 25 deletions

View File

@@ -41,7 +41,7 @@ class SwapServer(Logger, EventListener):
runner = web.AppRunner(app)
await runner.setup()
site = web.TCPSite(runner, host=str(self.addr.host), port=self.addr.port, ssl_context=self.config.get_ssl_context())
site = web.TCPSite(runner, host=str(self.addr.host), port=self.addr.port)
await site.start()
self.logger.info(f"now running and listening. addr={self.addr}")