Firebase hosting offers a number of customizations, including rewrites, error pages, redirects, and headers. These customizations help with how your web application is behaving at any given point. Let's explore the most important features.
As developers, we need to realise the user is not going to be tech savvy; he will run into some error scenarios, and identifying them before that happens is very helpful. If the user tries a different URL than the suggested URL, we should show an error page. The process of adding the error page is straightforward; it's just a 404.html
page inside your public
directory and Firebase will show the page if the user tries a different URL.