Skip to content
Snippets Groups Projects
Commit f5b2b73b authored by inso's avatar inso
Browse files

Bind on ipv4

parent 694ab993
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -41,7 +41,7 @@ class WebFunctionalSetupMixin: ...@@ -41,7 +41,7 @@ class WebFunctionalSetupMixin:
port = self.find_unused_port() port = self.find_unused_port()
self.runner = web.AppRunner(app) self.runner = web.AppRunner(app)
await self.runner.setup() await self.runner.setup()
site = web.TCPSite(self.runner, 'localhost', port) site = web.TCPSite(self.runner, '127.0.0.1', port)
await site.start() await site.start()
protocol = "https" if ssl_ctx else "http" protocol = "https" if ssl_ctx else "http"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment