refactor: simplify API routes and add sniffer status functionality
Some checks failed
Build and Deploy MITM Webserver / build (push) Failing after 5s

- Updated API routes to remove redundant prefixes.
- Introduced sniffer status fetching in the backend API.
- Added Sniffing page and integrated it into the routing.
- Created a new hook for backend API interactions.
- Implemented sniffer status type definitions.
This commit is contained in:
2026-01-10 14:44:11 +01:00
parent a2a017f900
commit 82012e9640
10 changed files with 115 additions and 22 deletions

View File

@@ -2,4 +2,5 @@ export const PATHS = {
ROOT: '/',
HOME: '/home',
NETWORK: '/network',
SNIFFING: '/sniffing',
};