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.
10 lines
149 B
JSON
10 lines
149 B
JSON
{
|
|
"pic": {
|
|
"all": "随机图片",
|
|
"fj": "随机风景",
|
|
"loading": "随机加载图"
|
|
},
|
|
"video": {
|
|
"all": "随机视频"
|
|
}
|
|
} |