Tech
Leaving Vercel with a static site: the redirects you lose without noticing
This week I moved four static Astro sites off Vercel and onto a plain container host. The builds were the easy part: npm run build , copy dist/ into a web server image, done. What almost went wrong is everything Vercel had been doing around the build without my thinking about it.
The failure that does not show up
A static site on Vercel is not only a folder of HTML. vercel.json holds redirects, headers, cleanUrls and trailingSlash , and the platform applies them at the ed...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to