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

Reviewed-on: #163
This commit was merged in pull request #163.
This commit is contained in:
2026-01-31 12:31:56 +00:00

View File

@@ -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',