I have a static site deployment with a build folder that looks like this
index.html favicon.ico app/index.html
Where “app/index.html” is a SPA.
I’m trying to set up “catch_all” to my SPA “app/index.html”, but the option doesn’t seem to support a path. I keep getting an error saying that it needs to be a valid file.
Any help is appreciated! Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Hey there!
Unfortunately you can’t specify a different directory for the catch_all as you mentioned, but that is a great idea to add that feature. I’d recommend adding that idea to our ideas page.
Nate