fix: on send heartbeat omit credentials, only use the api key store (#176)
This commit is contained in:
committed by
GitHub
parent
c735e2dafa
commit
ae22ab5a9d
@@ -337,6 +337,7 @@ class WakaTimeCore {
|
||||
try {
|
||||
const response = await fetch(`${config.heartbeatApiUrl}?api_key=${apiKey}`, {
|
||||
body: JSON.stringify(payload),
|
||||
credentials: 'omit',
|
||||
method: 'POST',
|
||||
});
|
||||
await response.json();
|
||||
|
||||
@@ -26,5 +26,5 @@
|
||||
"page": "options.html"
|
||||
},
|
||||
"permissions": ["alarms", "tabs", "storage", "idle"],
|
||||
"version": "3.0.5"
|
||||
"version": "3.0.6"
|
||||
}
|
||||
|
||||
@@ -39,5 +39,5 @@
|
||||
"storage",
|
||||
"idle"
|
||||
],
|
||||
"version": "3.0.5"
|
||||
"version": "3.0.6"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user