Skip to content

Commit b6ae7fe

Browse files
committed
Merge branch 'main' of github.com:HTTPArchive/almanac.httparchive.org into production
2 parents a3a2180 + cf762cb commit b6ae7fe

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/lighthouse/lighthouse-config-prod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"preset": "lighthouse:recommended",
55
"assertions": {
66
"categories:accessibility": ["error", {"minScore": 1}],
7-
"categories:best-practices": ["error", {"minScore": 0.92}],
7+
"categories:best-practices": ["error", {"minScore": 0.78}],
88
"categories:seo": ["error", {"minScore": 1}],
99
"bf-cache": "off",
1010
"bootup-time": "off",

src/config/last_updated.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
},
3737
"/static/js/send-web-vitals.js": {
3838
"date_published": "2021-02-24T00:00:00.000Z",
39-
"date_modified": "2024-02-08T00:00:00.000Z",
40-
"hash": "63611e8cc5b4e52b4d3d65866dbade27"
39+
"date_modified": "2024-02-23T00:00:00.000Z",
40+
"hash": "dbdf76e48652c343c8d368cf130f7928"
4141
},
4242
"/static/js/web-vitals.js": {
4343
"date_published": "2020-11-13T00:00:00.000Z",

src/static/js/send-web-vitals.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function sendWebVitals() {
2424
return entry.startTime < (loaf.startTime + loaf.duration) && loaf.startTime < (entry.startTime + entry.duration);
2525
}).forEach(loaf => {
2626
loaf.scripts.forEach(script => {
27-
const totalDuration = script.startTime + script.duration - script.desiredExecutionStart;
27+
const totalDuration = script.startTime + script.duration;
2828
if (totalDuration > loafAttribution.debug_loaf_script_total_duration) {
2929
loafAttribution = {
3030
// Stats for the LoAF entry itself.

0 commit comments

Comments
 (0)