Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add CSP Reduces the risk of accidentally leaking IP addresses to 3rd party services. * Also block api.github.com to avoid IP leak I found no obvious way to disable that in mkdocs-material. If anyone feels like digging: - https://github.com/squidfunk/mkdocs-material/blob/9655c3a92471f261533d48b8611a8d24dbfebb13/src/assets/javascripts/components/source/facts/github/index.ts#L62 - https://github.com/squidfunk/mkdocs-material/blob/9655c3a92471f261533d48b8611a8d24dbfebb13/src/assets/javascripts/components/source/facts/_/index.ts#L77 - https://github.com/squidfunk/mkdocs-material/blob/9655c3a92471f261533d48b8611a8d24dbfebb13/src/assets/javascripts/components/source/_/index.ts#L88 - https://github.com/squidfunk/mkdocs-material/blob/9655c3a92471f261533d48b8611a8d24dbfebb13/src/assets/javascripts/components/source/_/index.ts#L120 - https://github.com/squidfunk/mkdocs-material/blob/9655c3a92471f261533d48b8611a8d24dbfebb13/src/assets/javascripts/bundle.ts#L198 * Removes GitHub star counter As per the linked comment, removes the GitHub star counter, to avoid an unnecessary call to the GitHub API. squidfunk/mkdocs-material#2307 (comment) Co-authored-by: Lars Larsson <lars.larsson@elastisys.com>
- Loading branch information