fix: restore firewall-dependent rules after reset (#13674)

This commit is contained in:
ssongliu
2026-08-31 17:15:56 +08:00
committed by GitHub
parent 433f1a940f
commit 3ab10848c8
9 changed files with 167 additions and 30 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ export const searchForwardRule = (request: Firewall.ForwardRuleSearch) =>
http.post<ResPage<Firewall.RuleInfo>>('/hosts/firewall/forward/search', request, TimeoutEnum.T_40S);
export const operateFire = (operation: string, withDockerRestart: boolean) =>
http.post('/hosts/firewall/operate', { operation, withDockerRestart }, TimeoutEnum.T_60S);
http.post('/hosts/firewall/operate', { operation, withDockerRestart }, TimeoutEnum.T_10M);
export const operateForwardRule = (request: { rules: Firewall.RuleForward[]; forceDelete?: boolean }) =>
http.post('/hosts/firewall/forward/operate', request, TimeoutEnum.T_40S);