Skip to content

Commit

Permalink
Merge pull request #10 from cheshire-cat-ai/develop
Browse files Browse the repository at this point in the history
fix wrong port error
  • Loading branch information
nicola-corbellini authored Feb 25, 2024
2 parents 2902352 + b8b9456 commit 0367945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cheshire_cat_api/cat_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(self,

def _connect_api(self):
protocol = "https" if self._conn_settings.secure_connection else "http"
config = Configuration(host=f"{protocol}://{self._conn_settings.base_url}")
config = Configuration(host=f"{protocol}://{self._conn_settings.base_url}:{self._conn_settings.port}")

client = ApiClient(
configuration=config,
Expand Down

0 comments on commit 0367945

Please sign in to comment.