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 e9c7762 commit 72ea2a3Copy full SHA for 72ea2a3
src/WebPush.php
@@ -223,7 +223,7 @@ private function prepareAndSend(array $notifications)
223
elseif (array_key_exists('VAPID', $this->auth)) {
224
$vapid = $this->auth['VAPID'];
225
226
- $audience = parse_url($endpoint, PHP_URL_SCHEME).'//'.parse_url($endpoint, PHP_URL_HOST);
+ $audience = parse_url($endpoint, PHP_URL_SCHEME).'://'.parse_url($endpoint, PHP_URL_HOST);
227
228
if (!parse_url($audience)) {
229
throw new \ErrorException('Audience "'.$audience.'"" could not be generated.');
0 commit comments