mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 22:24:23 +01:00
Adds API HOST and PORT as configurable parameters. Renames them to API_CONNECT and API_PORT for consistency.
This commit is contained in:
@@ -30,7 +30,7 @@ dummy_teos_sk = PrivateKey.from_int(2)
|
||||
dummy_teos_pk = dummy_teos_sk.public_key
|
||||
another_sk = PrivateKey.from_int(3)
|
||||
|
||||
teos_url = "http://{}:{}".format(config.get("TEOS_SERVER"), config.get("TEOS_PORT"))
|
||||
teos_url = "http://{}:{}".format(config.get("API_CONNECT"), config.get("API_PORT"))
|
||||
add_appointment_endpoint = "{}/add_appointment".format(teos_url)
|
||||
register_endpoint = "{}/register".format(teos_url)
|
||||
get_appointment_endpoint = "{}/get_appointment".format(teos_url)
|
||||
|
||||
Reference in New Issue
Block a user