Skip to content

Commit 73c5cb9

Browse files
committed
Remove trailing slash from base URL
1 parent c86a591 commit 73c5cb9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cirro/cli/interactive/auth_args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def gather_auth_config() -> Tuple[str, str, Dict, bool]:
2222
meta_information={tenant['domain']: tenant['displayName'] for tenant in tenant_options}
2323
)
2424
# remove http(s):// if it's there
25-
base_url = re.compile(r'https?://').sub('', base_url).strip()
25+
base_url = re.compile(r'https?://').sub('', base_url).strip('/').strip()
2626

2727
auth_method_config = {
2828
'enable_cache': ask_yes_no('Would you like to save your login? (do not use this on shared devices)')

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "cirro"
3-
version = "1.1.2"
3+
version = "1.1.3"
44
description = "CLI tool and SDK for interacting with the Cirro platform"
55
authors = ["Cirro Bio <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)