From c326187af64577c7012bcd9875ab341b09892916 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 8 Apr 2026 00:59:23 +0000 Subject: [PATCH] fix: dashboard verification code buttons unresponsive - template literal regex escaping broke JS The regex `/\\/dashboard\\/[a-f0-9]+$/` inside a template literal produced `//dashboard/[a-f0-9]+$/` in the browser (JS comment), breaking all function definitions. Replaced with indexOf/substring approach to avoid template literal escape issues entirely. Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/c6b1f183-6fbc-4cee-b903-ce22d94e2f81 Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com> --- server/proxy/service/subscription-server-v3.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/proxy/service/subscription-server-v3.js b/server/proxy/service/subscription-server-v3.js index bdcd19ee..53022e22 100644 --- a/server/proxy/service/subscription-server-v3.js +++ b/server/proxy/service/subscription-server-v3.js @@ -890,7 +890,8 @@ mode: direct