Skip to content

Commit cc45bd8

Browse files
committed
fix: controller cannot click generate button
1 parent 0bf51c9 commit cc45bd8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

web/app/lib/utils.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ export function notNeedUrlPattern(shellType: string | undefined) {
7878
shellType.endsWith("Valve") ||
7979
shellType.startsWith("Agent") ||
8080
shellType.endsWith("Interceptor") ||
81-
shellType.endsWith("Handler") ||
81+
(shellType.endsWith("Handler") && !shellType.includes("Controller")) ||
8282
shellType.endsWith("WebFilter") ||
83-
shellType === "Customizer"
83+
shellType === "Customizer" ||
84+
shellType === "Upgrade"
8485
);
8586
}

0 commit comments

Comments
 (0)