mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-28 12:45:45 +01:00
This reverts commit d0914ac81f
.
This commit is contained in:
parent
d0914ac81f
commit
0ef5ab79c6
@ -14,6 +14,8 @@ 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",
|
||||||
@ -35,7 +37,7 @@ export class FastmailForwarder implements Forwarder {
|
|||||||
"new-masked-email": {
|
"new-masked-email": {
|
||||||
state: "enabled",
|
state: "enabled",
|
||||||
description: "",
|
description: "",
|
||||||
forDomain: options.website,
|
forDomain: forDomain,
|
||||||
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: null,
|
website: "",
|
||||||
domain: "",
|
domain: "",
|
||||||
prefix: "",
|
prefix: "",
|
||||||
token: "",
|
token: "",
|
||||||
|
Loading…
Reference in New Issue
Block a user