We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cb66d2 commit acf680aCopy full SHA for acf680a
1 file changed
backend/connectors/nmbgmr/source.py
@@ -46,8 +46,10 @@
46
47
def _make_url(endpoint):
48
if os.getenv("DEBUG") == "1":
49
- return f"http://localhost:8000/latest/{endpoint}"
50
- return f"https://waterdata.nmt.edu//latest/{endpoint}"
+ url = f"http://localhost:8000/latest/{endpoint}"
+ else:
51
+ url = f"https://waterdata.nmt.edu/latest/{endpoint}"
52
+ return url
53
54
55
class NMBGMRSiteSource(BaseSiteSource):
0 commit comments