diff --git a/app/options.py b/app/options.py index 47e7d03f..f19fdc9e 100644 --- a/app/options.py +++ b/app/options.py @@ -861,7 +861,10 @@ if serv is not None and act == "showMap": if "bind" in line or (line.startswith('listen') and ":" in line) or ( line.startswith('frontend') and ":" in line): try: - bind = line.split(":") + if "@" not in line: + bind = line.split(":") + else: + bind = line.split("@") if str(stats_port) not in bind[1]: bind[1] = bind[1].strip(' ') bind = bind[1].split("crt") diff --git a/app/templates/ajax/config_show.html b/app/templates/ajax/config_show.html index b821792b..8d57225d 100644 --- a/app/templates/ajax/config_show.html +++ b/app/templates/ajax/config_show.html @@ -268,7 +268,7 @@ {{ line }}
{% endif %} - {%- if "bind" in line -%} + {%- if "bind" in line and "@" not in line -%} {%- set bind = line.split(':')[1] -%} {%- set bind = bind.split(' ') -%}