mirror of
https://github.com/woodchen-ink/random-api-go.git
synced 2025-07-18 13:52:02 +08:00
- Removed custom referer parsing logic and replaced it with direct usage of r.Referer() for cleaner code. - Updated logging to consistently use the referer from the request object across all relevant handlers. - Enhanced readability and maintainability by eliminating redundant code related to referer extraction.