diff --git a/dashboard/plugin_api.py b/dashboard/plugin_api.py index 0f841bf..5a0d085 100644 --- a/dashboard/plugin_api.py +++ b/dashboard/plugin_api.py @@ -17,7 +17,7 @@ _sshx_pid = None _sshx_log = "/tmp/sshx_link.log" _sshx_pid_file = "/tmp/sshx_link.pid" -LINK_RE = re.compile(r"https://sshx\.io/s/[A-Za-z0-9_-]+") +LINK_RE = re.compile(r"https://sshx\.io/s/[A-Za-z0-9_-]+(?:#[A-Za-z0-9_-]+)?") def _ensure_sshx() -> bool: