Skip to content

Commit

Permalink
deprecate online web clients #80
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimiry committed Dec 19, 2018
1 parent 6bc7f6b commit c740a21
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/shared/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ export const ACCOUNTS_CONFIG: Record<AccountType, Record<"entryUrl", EntryUrlIte
entryUrl: [
{
value: "https://app.protonmail.ch",
title: "https://app.protonmail.ch",
title: "https://app.protonmail.ch (deprecated)",
},
{
value: "https://mail.protonmail.com",
title: "https://mail.protonmail.com",
title: "https://mail.protonmail.com (deprecated)",
},
...((process.env.NODE_ENV as BuildEnvironment) === "development" ? [
{
Expand All @@ -58,11 +58,11 @@ export const ACCOUNTS_CONFIG: Record<AccountType, Record<"entryUrl", EntryUrlIte
] : []),
{
value: "https://beta.protonmail.com",
title: "https://beta.protonmail.com",
title: "https://beta.protonmail.com (deprecated)",
},
{
value: "https://protonirockerxow.onion",
title: "https://protonirockerxow.onion",
title: "https://protonirockerxow.onion (deprecated)",
},
...((process.env.NODE_ENV as BuildEnvironment) === "development" ? [
{
Expand All @@ -76,7 +76,7 @@ export const ACCOUNTS_CONFIG: Record<AccountType, Record<"entryUrl", EntryUrlIte
entryUrl: [
{
value: "https://mail.tutanota.com",
title: "https://mail.tutanota.com",
title: "https://mail.tutanota.com (deprecated)",
},
...((process.env.NODE_ENV as BuildEnvironment) === "development" ? [
{
Expand All @@ -89,7 +89,7 @@ export const ACCOUNTS_CONFIG: Record<AccountType, Record<"entryUrl", EntryUrlIte
};

function getBuiltInWebClientTitle(accountType: AccountType): string {
return `Built-in Web Client v${PROVIDER_REPO[accountType].version}-${PROVIDER_REPO[accountType].commit.substr(0, 7)}`;
return `built-in "web client" v${PROVIDER_REPO[accountType].version}-${PROVIDER_REPO[accountType].commit.substr(0, 7)}`;
}

export const LOG_LEVELS: LogLevel[] = Object.keys(((stub: Record<LogLevel, null>) => stub)({
Expand Down

0 comments on commit c740a21

Please sign in to comment.