diff --git a/production_demo/.env.Example b/production_demo/.env.Example index 37f2354d..f5c51f82 100644 --- a/production_demo/.env.Example +++ b/production_demo/.env.Example @@ -3,4 +3,4 @@ # RESTACK_ENGINE_ID= # RESTACK_ENGINE_API_KEY= # RESTACK_ENGINE_ADDRESS= -# RESTACK_CLOUD_TOKEN= +# RESTACK_ENGINE_API_ADDRESS= diff --git a/production_demo/src/client.py b/production_demo/src/client.py index 8a2df4bf..3bd8324a 100644 --- a/production_demo/src/client.py +++ b/production_demo/src/client.py @@ -10,10 +10,12 @@ engine_id = os.getenv("RESTACK_ENGINE_ID") address = os.getenv("RESTACK_ENGINE_ADDRESS") api_key = os.getenv("RESTACK_ENGINE_API_KEY") +api_address = os.getenv("RESTACK_ENGINE_API_ADDRESS") connection_options = CloudConnectionOptions( engine_id=engine_id, address=address, - api_key=api_key + api_key=api_key, + api_address=api_address ) -client = Restack(connection_options) \ No newline at end of file +client = Restack(connection_options)