Skip to content

Commit

Permalink
Update DHL tracking page URL
Browse files Browse the repository at this point in the history
  • Loading branch information
freshlogic committed Jun 8, 2022
1 parent 2561d5c commit 8d8d470
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions carriers/dhl.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ function DHL(options) {
results.events.push(_event);
});

// Add url to carrier tracking page
results.url = `http://webtrack.dhlglobalmail.com/?trackingnumber=${encodeURIComponent(trackingNumber)}`;
// Add URL to carrier tracking page
results.url = `https://www.dhl.com/us-en/home/tracking.html?tracking-id=${encodeURIComponent(trackingNumber)}&submit=1`;

// Reverse results again to get events in order Most Recent - Least Recent
results.events.reverse();
Expand Down

0 comments on commit 8d8d470

Please sign in to comment.