Merge pull request 'Fix fetch URL in push notification subscription to include leading slash' (#163) from ranjith-dev into master
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Reviewed-on: #163
This commit was merged in pull request #163.
This commit is contained in:
@@ -57,7 +57,7 @@
|
|||||||
applicationServerKey: vapidKey
|
applicationServerKey: vapidKey
|
||||||
});
|
});
|
||||||
|
|
||||||
await fetch('api/push/subscribe', {
|
await fetch('/api/push/subscribe', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|||||||
Reference in New Issue
Block a user