mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-04 18:37:45 +01:00
Update request headers sent to AnonAddy API. (#5565)
This commit is contained in:
parent
ed04907300
commit
9ed59c6fa9
@ -18,6 +18,7 @@ export class AnonAddyForwarder implements Forwarder {
|
|||||||
headers: new Headers({
|
headers: new Headers({
|
||||||
Authorization: "Bearer " + options.apiKey,
|
Authorization: "Bearer " + options.apiKey,
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
"X-Requested-With": "XMLHttpRequest",
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
const url = "https://app.anonaddy.com/api/v1/aliases";
|
const url = "https://app.anonaddy.com/api/v1/aliases";
|
||||||
|
Loading…
Reference in New Issue
Block a user