We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e1686b + e69c2bc commit c998e20Copy full SHA for c998e20
src/web-push-lib.js
@@ -205,7 +205,7 @@ WebPushLib.prototype.generateRequestDetails =
205
} else if (currentVapidDetails) {
206
const parsedUrl = url.parse(subscription.endpoint);
207
const audience = parsedUrl.protocol + '//' +
208
- parsedUrl.hostname;
+ parsedUrl.host;
209
210
const vapidHeaders = vapidHelper.getVapidHeaders(
211
audience,
0 commit comments