Skip to content

Commit

Permalink
Pass host and port arguments to werkzeugs server thread. (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
fwkz authored Dec 3, 2017
1 parent 4ca063e commit 06f0bf9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions threat9_test_bed/service_mocks/base_http_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def __init__(self, host: str, port: int, app: Flask, ssl=False):

self.server_thread = threading.Thread(
target=self.app.run,
args=(self.host, self.port),
kwargs={"ssl_context": "adhoc"} if ssl else None
)

Expand Down

0 comments on commit 06f0bf9

Please sign in to comment.