Skip to content

Commit

Permalink
Add webpush headers, fake encryption for now
Browse files Browse the repository at this point in the history
  • Loading branch information
p1gp1g committed Dec 30, 2024
1 parent c5e9704 commit bbcd77c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/PushTransports/WebPushTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ public function notify(string $userId, string $collectionName, int $subscription
'http' => [
'method' => 'POST',
'content' => $content,
'header' => [
'TTL: 86400',
'Content-Encoding: aes128gcm',
],
],
];

Expand Down

0 comments on commit bbcd77c

Please sign in to comment.