Skip to content

Commit

Permalink
Use https for subject URL
Browse files Browse the repository at this point in the history
  • Loading branch information
marc1706 committed Feb 26, 2024
1 parent 380ff7d commit d50bdc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/PushApiModelTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ describe('Push API Model tests', () => {
const testLocalPublickey = 'BP_jupWySFrZB4vAqGmEJ9ZLlfLpg1fnP0SgBLmkx_e4sWe3b719Q_oh8FXe2nnTER0rmCJvUd6xmVNzUXMoLJQ';
const vapidHeaders = webPush.getVapidHeaders(
'http://localhost',
'http://test.com',
'https://test.com',
testApplicationServerKey,
testApplicationServerPrivateKey,
'aesgcm',
Expand Down Expand Up @@ -408,7 +408,7 @@ describe('Push API Model tests', () => {

const vapidHeaders = webPush.getVapidHeaders(
'http://localhost',
'http://test.com',
'https://test.com',
testApplicationServerKey,
testApplicationServerPrivateKey,
'aes128gcm',
Expand Down
2 changes: 1 addition & 1 deletion test/serverTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ describe('Push Server tests', () => {
const testLocalPublickey = 'BP_jupWySFrZB4vAqGmEJ9ZLlfLpg1fnP0SgBLmkx_e4sWe3b719Q_oh8FXe2nnTER0rmCJvUd6xmVNzUXMoLJQ';
const vapidHeaders = webPush.getVapidHeaders(
'http://localhost',
'http://test.com',
'https://test.com',
applicationServerKey,
applicationServerPrivateKey,
testClientHash,
Expand Down

0 comments on commit d50bdc9

Please sign in to comment.