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

vue/react based handling of sub path from root index.html #36

Open
u007 opened this issue Sep 13, 2020 · 1 comment
Open

vue/react based handling of sub path from root index.html #36

u007 opened this issue Sep 13, 2020 · 1 comment

Comments

@u007
Copy link

u007 commented Sep 13, 2020

hi,

how do i redirect all missing files or 404 to index.html without returning 404?
is it possible todo so?
i think with gostatic, it is possible 404 in a function right?

sorry, what i mean is, when file is missing, it will fallback to index.html

thank you

@PierreZ
Copy link
Owner

PierreZ commented Apr 21, 2021

Hi, you can use the --fallback parameter to redirect 🚀

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

2 participants