Fix fetch URL in push notification subscription to include leading slash #163
@@ -57,7 +57,7 @@
|
||||
applicationServerKey: vapidKey
|
||||
});
|
||||
|
||||
await fetch('api/push/subscribe', {
|
||||
await fetch('/api/push/subscribe', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
Reference in New Issue
Block a user