itsmohit097 / medi-hub

MERN STACK HOSPITAL MANAGEMENT SYSTEM
https://medi--hub.vercel.app/
MIT License
48 stars 98 forks source link

if you visit the appointment page and then refresh it, a 404 Not Found error is displayed #221

Open Kuldeepsinghrajpoot opened 1 month ago

Kuldeepsinghrajpoot commented 1 month ago

If you visit the appointment page and refresh it, a 404 Not Found error is displayed.

Description

When visiting the appointment page and refreshing the browser, a 404 Not Found error is displayed.

Actual Behavior

When the appointment page is refreshed, the server returns a 404 Not Found error, indicating that the requested page could not be found.

Expected Behavior

When the appointment page is refreshed, the server should correctly serve the main application page allowing the client-side router to handle the route and display the appointment page without errors.

Steps to Reproduce (if applicable)

  1. Visit the appointment page in the application.
  2. Refresh the browser (press F5 or click the refresh button).
  3. Observe the 404 Not Found error.

Screenshots

image

github-actions[bot] commented 1 month ago

Hi there!

Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible.

Please note that this is the project owner, @itsmohit097 Do the fork and branch process properly (read contribution.md file). if no followed properly PR will not be merged. Thank you for your cooperation.