Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- run: npm run build
- run: npm test
- name: Install xmllint
run: sudo apt-get install -y libxml2-utils
run: sudo apt-get update && sudo apt-get install -y libxml2-utils
- name: Validate RSS feed
run: xmllint --noout public/feed.xml
# - run: npm run test:html5validate
3 changes: 1 addition & 2 deletions config/_default/server.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Permissions-Policy = """
fullscreen=(self),
interest-cohort=()
"""
# "connect-src https://d4twhgtvn0ff5.cloudfront.net/ and https://d1dfn7jg27m4cf.cloudfront.net/" for stats graphs
# "connect-src https://d1dfn7jg27m4cf.cloudfront.net/" for stats graphs
# "img-src data: blob:" is for Plotly download feature
# "script-src unsafe-eval unsafe-inline data:": For Google Analytics
# "form-action" is NOT set, so it allows everything (it doesn't default to default-src). If restricted, It must allow at least www.paypal.com and its redirects
Expand Down Expand Up @@ -78,7 +78,6 @@ Content-Security-Policy = """
https://widget.thegivingblock.com/
;
connect-src 'self'
https://d4twhgtvn0ff5.cloudfront.net/
https://d1dfn7jg27m4cf.cloudfront.net/
https://donorbox.org
https://doublethedonation.com
Expand Down
2 changes: 1 addition & 1 deletion content/en/stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
linkTitle: Statistics
slug: stats
excerpt: Let's Encrypt certificate statistics.
lastmod: 2026-08-18
lastmod: 2026-09-24
menu:
main:
weight: 70
Expand Down
3 changes: 1 addition & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Permissions-Policy = """
fullscreen=(self),
interest-cohort=()
"""
# "connect-src https://d4twhgtvn0ff5.cloudfront.net/ and https://d1dfn7jg27m4cf.cloudfront.net/" for stats graphs
# "connect-src https://d1dfn7jg27m4cf.cloudfront.net/" for stats graphs
# "img-src data: blob:" is for Plotly download feature
# "script-src unsafe-eval unsafe-inline data:": For Google Analytics
# "form-action" is NOT set, so it allows everything (it doesn't default to default-src). If restricted, It must allow at least www.paypal.com and its redirects
Expand Down Expand Up @@ -88,7 +88,6 @@ Content-Security-Policy = """
https://widget.thegivingblock.com/
;
connect-src 'self'
https://d4twhgtvn0ff5.cloudfront.net/
https://d1dfn7jg27m4cf.cloudfront.net/
https://donorbox.org
https://doublethedonation.com
Expand Down
11 changes: 2 additions & 9 deletions static/js/stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,17 +322,10 @@ function doPlot() {
if ( location.hostname === "localhost" ) {
path = "/js/"; // in dev, will use old data.
} else {
path = "https://d4twhgtvn0ff5.cloudfront.net/";
path = "https://d1dfn7jg27m4cf.cloudfront.net/";
}

var statsPath;
if ( location.hostname === "localhost" ) {
statsPath = "/js/"; // in dev, will use old data.
} else {
statsPath = "https://d1dfn7jg27m4cf.cloudfront.net/";
}

fetch(statsPath+"cert-daily-stats.tsv")
fetch(path+"cert-daily-stats.tsv")
.then(response => {
return response.text();
}).then(tsvListener);
Expand Down
Loading