Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing 404.html #2

Open
nosovk opened this issue Dec 25, 2020 · 0 comments
Open

missing 404.html #2

nosovk opened this issue Dec 25, 2020 · 0 comments

Comments

@nosovk
Copy link
Member

nosovk commented Dec 25, 2020

Currently we have standart firebase 404 handler.
You may observe it by link: https://otech.pro/404

Expected behaviour: show some pretty looking 404, vs time based redirect to main page.
As an example:

<html>
 <head><title>404 Not Found</title></head>
 <meta http-equiv="refresh" content="3;https://otech.pro">
 <h1>404 Not Found</h1>
 <hr><p>Please visit <a href="https://otech.pro">otech.pro</a>, it's much more interesting then our 404 page</p>
 </body>
 </html>

That page will auto redirect to main site without JS or any user interaction.

To find how attach custom 404 to firebase stub see an article: https://firebase.google.com/docs/hosting/full-config#404
In common - just put custom 404.html into dist folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant