This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 2c750d9b Load logos from 'www.apache.org' (#247)
2c750d9b is described below
commit 2c750d9bb9d09a4ec4faa2fd7b43ddf24c2eb8df
Author: Arnout Engelen <[email protected]>
AuthorDate: Thu Feb 13 16:46:04 2025 +0100
Load logos from 'www.apache.org' (#247)
since that's the domain that's allowed in the ASF-global CSP
---
www/roster/views/nonpmc/main.js.rb | 2 +-
www/roster/views/pmc/main.js.rb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/roster/views/nonpmc/main.js.rb
b/www/roster/views/nonpmc/main.js.rb
index 5aa89722..a17e36c4 100644
--- a/www/roster/views/nonpmc/main.js.rb
+++ b/www/roster/views/nonpmc/main.js.rb
@@ -33,7 +33,7 @@ class NonPMC < Vue
_a @nonpmc.display_name, href: @nonpmc.site
_small " established #{@nonpmc.established}" if @nonpmc.established
if @nonpmc.image
- _img src: "https://apache.org/logos/res/#{@nonpmc.id}/default.png"
+ _img src: "https://www.apache.org/logos/res/#{@nonpmc.id}/default.png"
end
end
diff --git a/www/roster/views/pmc/main.js.rb b/www/roster/views/pmc/main.js.rb
index 40491cc4..15089815 100644
--- a/www/roster/views/pmc/main.js.rb
+++ b/www/roster/views/pmc/main.js.rb
@@ -43,7 +43,7 @@ class PMC < Vue
_a @@committee.chairname, href: "committer/#{@@committee.chair}"
end
if @committee.image
- _img src: "https://apache.org/logos/res/#{@committee.id}/default.png"
+ _img src:
"https://www.apache.org/logos/res/#{@committee.id}/default.png"
end
end