mirror of
https://github.com/woodchen-ink/random-api-go.git
synced 2025-07-18 05:42:01 +08:00
- Implemented detailed logging for API requests, including real IP, referer, and latency metrics. - Added dynamic routing for handling requests to /pic/ and /video/ endpoints. - Enhanced error handling for CSV content fetching and improved response messages. - Updated the HTML and JavaScript to load and display statistics more efficiently, including filtering based on endpoint configuration. - Introduced new metrics collection logic to only log relevant API requests, optimizing performance and clarity.