From 9d2b4c777493395aeb4116a0ac9986c66b4c365a Mon Sep 17 00:00:00 2001 From: ReaJason Date: Wed, 4 Mar 2026 11:20:24 +0800 Subject: [PATCH] fix: controller cannot click generate button --- web/app/lib/utils.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/app/lib/utils.ts b/web/app/lib/utils.ts index 312c2b0c..882b9071 100644 --- a/web/app/lib/utils.ts +++ b/web/app/lib/utils.ts @@ -78,8 +78,9 @@ export function notNeedUrlPattern(shellType: string | undefined) { shellType.endsWith("Valve") || shellType.startsWith("Agent") || shellType.endsWith("Interceptor") || - shellType.endsWith("Handler") || + (shellType.endsWith("Handler") && !shellType.includes("Controller")) || shellType.endsWith("WebFilter") || - shellType === "Customizer" + shellType === "Customizer" || + shellType === "Upgrade" ); }