Fix fetch URL in push notification subscription to include leading slash #163

Merged
jothi merged 1 commits from ranjith-dev into master 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',