Skip to content

Commit

Permalink
feat: Add DNS domains on seed nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
alpeto9 committed May 23, 2024
1 parent 3804d3c commit 6e0dc42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node-runner-cli/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def merge(source, destination):
@staticmethod
def parse_trustednode(trustednode):
import re
regex = r"radix://(.*)@((\d{1,3}\.){3}\d{1,3}|[a-zA-Z0-9-]+\.[a-zA-Z]{2,})$"
regex = r"radix://(.*)@((\d{1,3}\.){3}\d{1,3}|([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,})$"
if not bool(
re.match(regex, trustednode)
):
Expand Down

0 comments on commit 6e0dc42

Please sign in to comment.