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.
1 parent 5f9fb6b commit 12233baCopy full SHA for 12233ba
src/web-push-lib.js
@@ -230,10 +230,6 @@ WebPushLib.prototype.generateRequestDetails =
230
requestDetails.headers.Authorization = 'key=' + currentGCMAPIKey;
231
}
232
} else if (currentVapidDetails) {
233
- if (contentEncoding === webPushConstants.supportedContentEncodings.AES_128_GCM
234
- && subscription.endpoint.indexOf('https://fcm.googleapis.com') === 0) {
235
- subscription.endpoint = subscription.endpoint.replace('fcm/send', 'wp');
236
- }
237
const parsedUrl = url.parse(subscription.endpoint);
238
const audience = parsedUrl.protocol + '//' +
239
parsedUrl.host;
0 commit comments