4 ms·
It's nice because it's a very simple file format. Because it resides in the output directory it makes it easy to generate with static site generators. Also, th
by molf 5y ago
It's nice because it's a very simple file format. Because it resides in the output directory it makes it easy to generate with static site generators.
Also, they probably copied the design from Netlify [1] to improve compatibility and therefore make it easier for people to migrate from Netlify.
[1] https://docs.netlify.com/routing/redirects/#syntax-for-the-redirects-file https://docs.netlify.com/routing/redirects/#syntax-for-the-r...
- jbverschoor 5y agoYeah I understand, but there is an immense amount of scraping going on for "production.env", .htaccess files etc. It's the same logic that results in publicly open mongo databases.
- molf 5y agoGenuinely curious, how could publishing a list of redirects on a static website be harmful?
- jbverschoor 5y agoIt reveals site structure but more importantly, it acts as an architectural foundation (location) for the future.