vscode-material-icon-theme
vscode-material-icon-theme copied to clipboard
Netlify file icon should be used also for `_redirects` and `_headers` files
Netlify supports its configuration across several files, not only on netlify.toml
The specific configs for redirect and headers that can be present in netlify.toml
can be placed also on two dedicated files, _redirects
and _headers
(with no extension), these can be the best option depending on the used framework of other particular configuration.
These two files should have the same custom Netlify icon as netlify.toml
Reference: https://docs.netlify.com/configure-builds/file-based-configuration/ https://docs.netlify.com/routing/redirects/ https://docs.netlify.com/routing/headers/
@PKief any status about this?
I'd like to close this if it is not needed, or provide a PR if you think that it could be a good addition, but I'm trying to clean my issues list.
Thanks :)
How are the files called? Just "_headers"? If that's the case it's quite too generous to apply a netlify icon to such a file as it could easily used in another context as well, you know what I mean?
Yes, I did some more research and looks like the file is not exclusive to Netlify but way more generic
https://specs.ipfs.tech/http-gateways/web-redirects-file/
I could not find something similar for _headers
but it is probably not platform specific as well.
Some custom icons instead of the generic "unknown file" would be good nonetheless.