From d25b984eac61dcb345e2fb8ba93fd1822499712e Mon Sep 17 00:00:00 2001 From: OpenCode Agent <> Date: Mon, 17 Aug 2026 22:43:40 +0000 Subject: [PATCH] fix: include hash fragment (#key) in sshx URL regex --- dashboard/plugin_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: