Skip to content

Commit

Permalink
Use alternate USPS link for package tracking [skip ci] (#1191)
Browse files Browse the repository at this point in the history
The previous tracking link would sometimes lead to a blank page
  • Loading branch information
davefatkin authored Oct 31, 2024
1 parent 1b9f799 commit a8205c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/static/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const checkForTracking = () => {
]
},
"usps": {
"link": `https://tools.usps.com/go/TrackConfirmAction?tLabels=${query}`,
"link": `https://tools.usps.com/go/TrackConfirmAction_input?origTrackNum=${query}`,
"expr": [
/(\b\d{30}\b)|(\b91\d+\b)|(\b\d{20}\b)/,
/^E\D{1}\d{9}\D{2}$|^9\d{15,21}$/,
Expand Down

0 comments on commit a8205c3

Please sign in to comment.