test database privilige and index + delete ep packets
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 1m4s

This commit is contained in:
2026-03-01 18:23:08 +01:00
parent 613c8b8c5a
commit 0f2a342b75
3 changed files with 17 additions and 2 deletions

View File

@@ -159,6 +159,12 @@ export const fetchPackets = async (limit = 100): Promise<any> => {
return res.data;
};
export const clearPackets = async (): Promise<any> => {
// limit default mirrors OpenAPI default
const res = await api.delete('/packets/packets');
return res.data;
};
/* -------------------------
Firewall
------------------------- */