random-api-go/public/config/endpoint.json
wood chen 1b2fd3ea85 feat(handlers, monitoring, public): enhance API request handling and improve metrics logging
- 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.
2024-11-30 23:52:31 +08:00

10 lines
149 B
JSON

{
"pic": {
"all": "随机图片",
"fj": "随机风景",
"loading": "随机加载图"
},
"video": {
"all": "随机视频"
}
}