Skip to content

Commit 83776ce

Browse files
committed
Fix url
1 parent bf6be10 commit 83776ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

meshtastic/node.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,14 +336,14 @@ def getURL(self, includeAll: bool = True):
336336
some_bytes = channelSet.SerializeToString()
337337
s = base64.urlsafe_b64encode(some_bytes).decode('ascii')
338338
s = s.replace("=", "").replace("+", "-").replace("/", "_")
339-
return f"https://www.meshtastic.org/e/#{s}"
339+
return f"https://meshtastic.org/e/#{s}"
340340

341341
def setURL(self, url):
342342
"""Set mesh network URL"""
343343
if self.localConfig is None:
344344
our_exit("Warning: No Config has been read")
345345

346-
# URLs are of the form https://www.meshtastic.org/d/#{base64_channel_set}
346+
# URLs are of the form https://meshtastic.org/d/#{base64_channel_set}
347347
# Split on '/#' to find the base64 encoded channel settings
348348
splitURL = url.split("/#")
349349
b64 = splitURL[-1]

0 commit comments

Comments
 (0)