Skip to content

Commit

Permalink
update @ProtonMail web clients
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimiry committed Mar 1, 2023
1 parent b5c998f commit a291ce2
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 118 deletions.
24 changes: 24 additions & 0 deletions patches/protonmail/constants-10.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
diff --git a/packages/shared/lib/constants.ts b/packages/shared/lib/constants.ts
index 67caf9557..e982d97f4 100644
--- a/packages/shared/lib/constants.ts
+++ b/packages/shared/lib/constants.ts
@@ -70,7 +70,7 @@ interface AppConfiguration {

export const APPS_CONFIGURATION: { [key in APP_NAMES]: AppConfiguration } = {
[APPS.PROTONACCOUNT]: {
- publicPath: '',
+ publicPath: '/account',
subdomain: 'account',
name: 'Proton Account',
bareName: 'Account',
@@ -142,8 +142,8 @@ export const APPS_CONFIGURATION: { [key in APP_NAMES]: AppConfiguration } = {
settingsSlug: '',
},
[APPS.PROTONVPN_SETTINGS]: {
- publicPath: '',
- subdomain: '',
+ publicPath: 'account/vpn',
+ subdomain: 'account',
name: VPN_APP_NAME,
bareName: VPN_SHORT_APP_NAME,
clientID: 'web-vpn-settings',
4 changes: 2 additions & 2 deletions patches/protonmail/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"proton-drive": [
"common-3.patch",
"url-3.patch",
"constants-9.patch",
"sentry-9.patch",
"constants-10.patch",
"sentry-10.patch",
"pack-api-arg-4.patch",
"pack-webpack-6.patch",
"session-storage-5.patch",
Expand Down
115 changes: 0 additions & 115 deletions patches/protonmail/sentry-9.patch

This file was deleted.

2 changes: 1 addition & 1 deletion src/shared/const/proton-apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const PROVIDER_REPO_MAP = {
basePath: "drive",
apiSubdomain: "drive-api",
repoRelativeDistDir: "./dist",
tag: "[email protected].10.2",
tag: "[email protected].11.1",
protonPack: {},
},
[PROVIDER_APP_NAMES[4]]: {
Expand Down

0 comments on commit a291ce2

Please sign in to comment.