Use alternate USPS link for package tracking [skip ci] (#1191)

The previous tracking link would sometimes lead to a blank page
This commit is contained in:
Dave Fatkin 2024-10-31 19:11:36 -04:00 committed by GitHub
parent 1b9f7990b6
commit a8205c3043
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ const checkForTracking = () => {
] ]
}, },
"usps": { "usps": {
"link": `https://tools.usps.com/go/TrackConfirmAction?tLabels=${query}`, "link": `https://tools.usps.com/go/TrackConfirmAction_input?origTrackNum=${query}`,
"expr": [ "expr": [
/(\b\d{30}\b)|(\b91\d+\b)|(\b\d{20}\b)/, /(\b\d{30}\b)|(\b91\d+\b)|(\b\d{20}\b)/,
/^E\D{1}\d{9}\D{2}$|^9\d{15,21}$/, /^E\D{1}\d{9}\D{2}$|^9\d{15,21}$/,