mitre / hipcheck

Automatically assess and score software repositories for supply chain risk.
https://mitre.github.io/hipcheck/
Apache License 2.0
80 stars 6 forks source link

fix: Fix broken script URLs on live site. #621

Closed alilleybrinker closed 1 week ago

alilleybrinker commented 1 week ago

The previous logic for generating the script URL on the live site didn't work on GitHub Pages because the resulting URL was missing /hipcheck at the start of the path. This commit fixes that by updating the host resolution logic to handle the GitHub Pages case.