Skip to content

Commit b06e42e

Browse files
committed
Make aes128gcm the default content encoding
1 parent ac14129 commit b06e42e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/web-push-lib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ WebPushLib.prototype.generateRequestDetails =
109109
let currentVapidDetails = vapidDetails;
110110
let timeToLive = DEFAULT_TTL;
111111
let extraHeaders = {};
112-
let contentEncoding = webPushConstants.supportedContentEncodings.AES_GCM;
112+
let contentEncoding = webPushConstants.supportedContentEncodings.AES_128_GCM;
113113
let proxy;
114114

115115
if (options) {

0 commit comments

Comments
 (0)