File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ $notifications = [
44
44
'payload' => 'hello !',
45
45
], [
46
46
'subscription' => Subscription::create([
47
- 'endpoint' => 'https://android .googleapis.com/gcm /send/abcdef...', // Chrome
47
+ 'endpoint' => 'https://fcm .googleapis.com/fcm /send/abcdef...', // Chrome
48
48
]),
49
49
'payload' => null,
50
50
], [
@@ -117,10 +117,9 @@ You can specify your authentication details when instantiating WebPush. The keys
117
117
118
118
use Minishlink\WebPush\WebPush;
119
119
120
- $endpoint = 'https://android .googleapis.com/gcm /send/abcdef...'; // Chrome
120
+ $endpoint = 'https://fcm .googleapis.com/fcm /send/abcdef...'; // Chrome
121
121
122
122
$auth = [
123
- 'GCM' => 'MY_GCM_API_KEY', // deprecated and optional, it's here only for compatibility reasons
124
123
'VAPID' => [
125
124
'subject' => 'mailto:
[email protected] ', // can be a mailto: or your website address
126
125
'publicKey' => '~88 chars', // (recommended) uncompressed public key P-256 encoded in Base64-URL
You can’t perform that action at this time.
0 commit comments