Skip to content

Commit 6fd7491

Browse files
committed
Got Toxiproxi.update_api_consumer() to update APIConsumer.base_url.
1 parent d1c7e58 commit 6fd7491

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

toxiproxy/server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,4 @@ def update_api_consumer(self, host, port):
116116

117117
APIConsumer.host = host
118118
APIConsumer.port = port
119+
APIConsumer.base_url = "http://%s:%s" % (host, port)

0 commit comments

Comments
 (0)