SAP / project-portal-for-innersource

Lists all InnerSource projects of a company in an interactive and easy to use way. Can be used as a template for implementing the "InnerSource portal" pattern by the InnerSource Commons community.
https://sap.github.io/project-portal-for-innersource/
Apache License 2.0
143 stars 71 forks source link

Disable caching for repos.json #8

Closed spier closed 3 years ago

spier commented 3 years ago

When building my own local repos.json I was changing this file very frequently. I noticed that even when restarting the http-server with npm start, the modified data from repos.json would only be picked up in the browser when I did a hard refresh of the index page in the browser.

To fix this I changed the startup config of http-server to disable caching according to this docs.

I also removed a mention of SAP in package.json as I assumed that this might just be a leftover from open sourcing this project?