Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with "Nearby" button causing wrong URL on second click #185

Open
ramith-kulal opened this issue Oct 4, 2024 · 0 comments
Open

Issue with "Nearby" button causing wrong URL on second click #185

ramith-kulal opened this issue Oct 4, 2024 · 0 comments

Comments

@ramith-kulal
Copy link

Bug Description:

When clicking on the Nearby button for the first time, it works as expected and loads the nearby.html page. However, when already on the nearby.html page, clicking the Nearby button again results in an error where the URL changes to index.htmlnearby.html, leading to a 404 page.

Steps to Reproduce:

  • Navigate to the Medical Website Home Page.
  • Click on the Nearby button (it loads nearby.html correctly).
  • On the nearby.html page, click on the Nearby button again.
  • The URL changes to index.htmlnearby.html, and the page returns a 404 error

Expected Behavior:

Clicking the Nearby button multiple times should not result in an incorrect URL. The page should either reload or maintain the correct URL without appending index.html.

Possible Solution:

I believe this could be an issue with the button's URL or routing logic. A relative path might be getting appended incorrectly when the page is already loaded.

Screenrecord:

Untitled.video.-.Made.with.Clipchamp.1.mp4

would like to work on this under hactoberfest'24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant