Skip to content

Commit

Permalink
Use http as default for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Rikuoja committed Jun 11, 2021
1 parent 1269868 commit b29d9d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Catchment/core/isochrone_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ def __init__(self, opts: IsochroneOpts) -> None:
if not self.base_url.startswith("http://") and not self.base_url.startswith(
"https://"
):
self.base_url = "https://" + self.base_url
# our instance does not support https out of the box
self.base_url = "http://" + self.base_url
if not self.base_url[-1] == "/":
self.base_url += "/"
self.base_url += "isochrone"
Expand Down

0 comments on commit b29d9d0

Please sign in to comment.