I checked your repo and looks like I found the problem. The file that you’ve stored in the repo gets overwritten in Node Module installation stage.
This is what gets installed:
I’m not sure what can be done in this case. My advise would be to remove the index.headers
file outside of Node Modules folder so that it can be overwritten in a different way.