Removing the .html from a website

19 March 2023

I was recently looking around on how to configure Vite to not show the .html ending on a URL of a site but it turns out I was looking at the wrong place.

Vercel has a configuration file you can attach to your projects called vercel.json and they have an option called cleanUrls which will remove the .html endings for you. Very convenient. Here is the site in case you want to read more configurations,