Skip to content

Commit

Permalink
Update configuration.py
Browse files Browse the repository at this point in the history
  • Loading branch information
silverdrake11 authored Jul 25, 2024
1 parent d0b353c commit cda9564
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions landscape/client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,8 +480,8 @@ def query_landscape_edition(self):
self.landscape_domain = self.prompt_get_input(
"Landscape Domain: ",
True,
).strip('/')
self.landscape_domain = re.sub(r'^https?://', '',
).strip("/")
self.landscape_domain = re.sub(r"^https?://", "",
self.landscape_domain)
self.config.ping_url = f"http://{self.landscape_domain}/ping"
self.config.url = f"https://{self.landscape_domain}/message-system"
Expand Down

0 comments on commit cda9564

Please sign in to comment.