Closed RamakrushnaBiswal closed 1 week ago
@RamakrushnaBiswal 404 page is already there as seen in the screenshot.
But there is a bug, when going on event details page, if the event id is wrong, only a toast displays for now, but it should show 404 page. Can you fix this?
hi @Tanay-ErrorCode we need to add this i guess https://firebase.google.com/docs/hosting/full-config#404
the configured error page is working for unknown URL but for deploying purpose we need to create another one
@RamakrushnaBiswal The application uses HashRouter so if there is wrong URL after the /#/
, then it will display the 404 page (image that I provided). This is the current functionality, but if there is something other than #
entered by user, it displays that firebase 404 page (image that you provided)
Make 404 page (html one) similar to the current one and fix that event details bug too.
hi @Tanay-ErrorCode we need to change the start url
in build directory
you can change and check the deploy
hi @Tanay-ErrorCode we need to change the
start url
in build directory you can change and check the deploy
@RamakrushnaBiswal Instead of this, it can be done using this process
@Tanay-ErrorCode for this we need to change directory to public
@RamakrushnaBiswal There is already a public directory (in which there is index.html
), you have to create 404.html
there, it will work fine.
ok i will create the same design or new one for the page @Tanay-ErrorCode
ok i will create the same design or new one for the page @Tanay-ErrorCode
Same.
Is your feature request related to a problem? Please describe.
Describe the solution you'd like we can add some error image and gifs
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.