I’m trying to deploy a static site built with parcel.js that has a bunch of subpages with my dist folder looking like this:
📄 index.html 📁 about 📄 index.html
example.com/about/ works but
example.com/about (without trailing slash) returns a 404.
Is there any way to make paths without trailing slashes work in static sites since I have to support an existing url structure?
Vercel for example has configuration options for these settings.
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.