add chain and table addition to frontend
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 10s
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 10s
This commit is contained in:
@@ -163,6 +163,12 @@ export const createRuleJson = async (req: CreateRuleRequest): Promise<ExecResult
|
||||
const res = await api.post<ExecResult>("/firewall/rules", req);
|
||||
return res.data;
|
||||
};
|
||||
|
||||
export const execFirewallRaw = async (cmd: string): Promise<ExecResult> => {
|
||||
const res = await api.post<ExecResult>("/firewall/raw", { "cmd": cmd });
|
||||
return res.data;
|
||||
}
|
||||
|
||||
/* -------------------------
|
||||
Scripts
|
||||
------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user