vscode-material-icon-theme icon indicating copy to clipboard operation
vscode-material-icon-theme copied to clipboard

Netlify file icon should be used also for `_redirects` and `_headers` files

Open stefanobartoletti opened this issue 1 year ago • 3 comments

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/

stefanobartoletti avatar Oct 10 '23 08:10 stefanobartoletti

@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 :)

stefanobartoletti avatar Dec 11 '23 18:12 stefanobartoletti

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?

PKief avatar Dec 11 '23 19:12 PKief

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.

stefanobartoletti avatar Dec 12 '23 08:12 stefanobartoletti