Skip to content

Commit 851faf0

Browse files
authored
Remove replacing fcm/send for aes128gcm (#214)
Close #201
1 parent 7150ba0 commit 851faf0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/WebPush.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,6 @@ private function prepare(array $notifications): array
280280
} else {
281281
$headers['Crypto-Key'] = $vapidHeaders['Crypto-Key'];
282282
}
283-
} elseif ($contentEncoding === 'aes128gcm' && substr($endpoint, 0, strlen(self::FCM_BASE_URL)) === self::FCM_BASE_URL) {
284-
$endpoint = str_replace('fcm/send', 'wp', $endpoint);
285283
}
286284
}
287285

0 commit comments

Comments
 (0)