I'm making a plain, static site (HTML/CSS/JS) with Webpack that I intend to eventually deploy to s3. I have my final HTML files exported to the root of my dist folder like, index.html, foo.html, bar.html.
When I go to localhost:9000
, my index loads as expected. For foo and bar I have to type the file extension like /foo.html
and /bar.html
for those pages to load. Is there a setting that I'm missing that will allow me to simply type /foo
and /bar
in the browser and have the intended pages load?