Skip to content

Commit 8965000

Browse files
Siddhi Tripathixiaoxiang781216
authored andcommitted
fix(website): resolve CSP violations by using local avatar images
- Download all 32 GitHub avatars to static/images/community/avatars/ - Update community-members.md template to use /static/images/community/avatars/ paths - Fixes Content Security Policy violations that blocked GitHub hotlinks - Images now load from same domain instead of external GitHub URLs
1 parent e35a026 commit 8965000

33 files changed

+1
-1
lines changed

community-members.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ limitations under the License.
4141
</tr>
4242
{% for member in site.data.contributors %}
4343
<tr>
44-
<td><a href="http://github.com/{{ member.githubId }}"><img width="64" src="{% unless c.avatar %}http://github.com/{{ member.githubId }}.png{% else %}{{ member.avatar }}{% endunless %}"></a></td>
44+
<td><a href="https://github.com/{{ member.githubId }}"><img width="64" src="/static/images/community/avatars/{{ member.githubId }}.png" alt="{{ member.name }}"></a></td>
4545
<td>{{member.name}}</td>
4646
<td>{{member.apacheId}}</td>
4747
<td><a href="http://github.com/{{ member.githubId }}">{{ member.githubId }}</a></td>
17.6 KB
Loading
33.5 KB
Loading
15.7 KB
Loading
8.24 KB
Loading
24.5 KB
Loading
33.4 KB
Loading
310 KB
Loading
41.1 KB
Loading
16.5 KB
Loading

0 commit comments

Comments
 (0)