Commit Graph

4 Commits

Author SHA1 Message Date
LORDBABUINO ca827db53e feat(api): add permissive CORS layer
Browser-based frontends need CORS to call the API. Apply
tower_http::cors::CorsLayer::permissive() at the router level so
the frontend (and other origins during development) can reach the
scan endpoint.
2026-05-11 20:18:31 -03:00
LORDBABUINO 3ab2fb3c9c refactor(api): drop dead-code cookie loop in detect_cookie_file
The second loop is unreachable: the first loop returns as soon as it
finds an existing candidate. Collapse to a single iterator chain.
2026-05-11 20:17:58 -03:00
Renato Britto 780c3122bd feat(docs): add docs for api package 2026-04-09 17:55:36 -03:00
Renato Britto 720342f880 refactor(api): expand and test api as stealth http interface 2026-04-09 17:55:34 -03:00