PatilHarshh / Kaam-Do

The Simplified Job Searching Platform
https://kaam-do.vercel.app
MIT License
28 stars 96 forks source link

Solved 🐞 "Routing Navigation Errors" For The Pages #184

Closed MastanSayyad closed 4 weeks ago

MastanSayyad commented 1 month ago

Related Issue

Closes #137

Description

To rectify the {404 Not Found Error}, it is necessary to establish redirect and rewrite rules for the React Router application. These rules will assist the application in circumventing the "Page Not Found" error.

That's why I created a vercel.json file in the root directory of the project. This file will enable Vercel to configure the routing accurately.

image

Type of PR

@PatilHarshh Please take a look and review it, Thank You!!

Checklist:

vercel[bot] commented 1 month ago

@MastanSayyad is attempting to deploy a commit to the patilharshh's projects Team on Vercel.

A member of the Team first needs to authorize it.

github-actions[bot] commented 1 month ago

Thank you for submitting your pull request! πŸ™Œ We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

PatilHarshh commented 4 weeks ago

I did not understand Your issue . What it resolves Actually

MastanSayyad commented 4 weeks ago

@PatilHarshh, the issue is vercel navigation errors of pages which gives error 404 page not found after refreshing the pages (except home page) this issue occurs only after deployment of the project, in local server or preview it does not occur....to rectify this issue i have configured some redirect rewirte rules which ensures that each page is navigating without any error

PatilHarshh commented 4 weeks ago

LGTM !