mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-16 01:21:48 +01:00
This reverts commit c37006c564
.
This commit is contained in:
parent
c37006c564
commit
d0914ac81f
@ -14,8 +14,6 @@ export class FastmailForwarder implements Forwarder {
|
|||||||
throw "Unable to obtain Fastmail masked email account ID.";
|
throw "Unable to obtain Fastmail masked email account ID.";
|
||||||
}
|
}
|
||||||
|
|
||||||
const forDomain = (options.website || "");
|
|
||||||
|
|
||||||
const requestInit: RequestInit = {
|
const requestInit: RequestInit = {
|
||||||
redirect: "manual",
|
redirect: "manual",
|
||||||
cache: "no-store",
|
cache: "no-store",
|
||||||
@ -37,7 +35,7 @@ export class FastmailForwarder implements Forwarder {
|
|||||||
"new-masked-email": {
|
"new-masked-email": {
|
||||||
state: "enabled",
|
state: "enabled",
|
||||||
description: "",
|
description: "",
|
||||||
forDomain: forDomain,
|
forDomain: options.website,
|
||||||
emailPrefix: options.fastmail.prefix,
|
emailPrefix: options.fastmail.prefix,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -12,7 +12,7 @@ import { Forwarders } from "../options/constants";
|
|||||||
import { EmailPrefixOptions, ApiOptions } from "../options/forwarder-options";
|
import { EmailPrefixOptions, ApiOptions } from "../options/forwarder-options";
|
||||||
|
|
||||||
export const DefaultFastmailOptions: ApiOptions & EmailPrefixOptions = Object.freeze({
|
export const DefaultFastmailOptions: ApiOptions & EmailPrefixOptions = Object.freeze({
|
||||||
website: "",
|
website: null,
|
||||||
domain: "",
|
domain: "",
|
||||||
prefix: "",
|
prefix: "",
|
||||||
token: "",
|
token: "",
|
||||||
|
Loading…
Reference in New Issue
Block a user