BUG: “Check API Reference” button always redirects to the same endpoint
Author: callmegautamCreated Nov 19, 2025Updated Dec 11, 2025
Labelsbug
Describe the bug
The “Check API Reference” button in the API docs always redirects to the same page, regardless of where I currently am.
Current behavior: No matter which section of the documentation I’m viewing, clicking “Check API Reference” always sends me to:
https://freeapi.hashnode.space/api-guide/apireference/getARandomUser
This makes the button effectively useless because it doesn’t take me to a general API reference or to the correct section.
To Reproduce
- Open any API documentation page (not just “getARandomUser”).
- Click “Check API Reference” in the top-right.
- Observe that it always redirects to the same URL shown above.
Expected behavior
The button should either:
- open the main API reference index, or
- open the relevant API reference for the current section.
Right now it feels like the link is hardcoded to a single endpoint.
Screenshots
OS
Window
OS Version
11
Client
Chrome
Additional context or Information
No response
Source: hiteshchoudhary/apihub