-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
HI,
I have a problem, error:
POST https://www.xxxx.fr/notif2/push.php 401 (anonymous) @ VM107 push_generator.js:787 Promise.then (async) PushGenerator.sendMessage @ VM107 push_generator.js:778
And line 778 to 787:
`.then(function(request) {
var headers = new Headers();
Object.keys(request.headers).forEach(function(headerName) {
headers.append(headerName, request.headers[headerName]);
});
// Proxy everything through a PHP script to get around CORS restrictions.
headers.append('X-Endpoint', request.url);
return fetch('https://www.xxxx.fr/notif2/push.php', {
method: 'POST',
headers: headers,
body: request.body
});`
I can't find where is the problem. Can you help me ?
Thank you
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels