Mansi168 / EmoWell

https://emo-well.vercel.app/
33 stars 82 forks source link

Fixed 🐞 Pages Routing Error "404 Page Not Found" After Refreshing. #224

Closed MastanSayyad closed 4 months ago

MastanSayyad commented 4 months ago

Related Issue

Issue Closes #213

Description

Hey @Mansi168 and @everly-gif

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 preventing 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

Screenshots / videos (if applicable)

[Attach any relevant screenshots or videos demonstrating the changes]

Checklist:

vercel[bot] commented 4 months ago

@MastanSayyad is attempting to deploy a commit to the My Team Team on Vercel.

A member of the Team first needs to authorize it.

everly-gif commented 4 months ago

@Mansi168 please have a look

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
emo-well ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 4, 2024 10:43pm
MastanSayyad commented 4 months ago

@everly-gif please add the labels