mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
Update request headers sent to AnonAddy API. (#5565)
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user