Skip to content

Commit

Permalink
[csp] Add new github user assets domain (endoflife-date#5087)
Browse files Browse the repository at this point in the history
GitHub hosted assets, mainly those uploaded via issues now redirect to the S3 bucket directly.
  • Loading branch information
captn3m0 authored May 2, 2024
1 parent 02ce829 commit 9f0a3a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _headers
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ layout: null
Access-Control-Max-Age: 86400

# Configuration for all "pages" in the website (e.g. product pages, website pages such as / or /recommendations, API "pages"...).
{% assign defaultCspImgSrc="'self' https://img.shields.io https://www.netlify.com https://cdn.jsdelivr.net/ https://github.githubassets.com/ https://user-images.githubusercontent.com/" %}
{% assign defaultCspImgSrc="'self' https://img.shields.io https://www.netlify.com https://cdn.jsdelivr.net/ https://github.githubassets.com/ https://user-images.githubusercontent.com/ https://github-production-user-asset-6210df.s3.amazonaws.com" %}
{%- for page in site.html_pages -%}
{{page.url}}
{%- if page.layout == 'product' %}
Expand Down

0 comments on commit 9f0a3a9

Please sign in to comment.