aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/features/serviceProxy/index.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/features/serviceProxy/index.js b/src/features/serviceProxy/index.js
index e9a01b156..e78607667 100644
--- a/src/features/serviceProxy/index.js
+++ b/src/features/serviceProxy/index.js
@@ -22,7 +22,6 @@ export default function init(stores) {
22 config.isIncludedInCurrentPlan = true; 22 config.isIncludedInCurrentPlan = true;
23 23
24 const services = stores.services.enabled; 24 const services = stores.services.enabled;
25 const isPremiumUser = stores.user.data.isPremium;
26 const proxySettings = stores.settings.proxy; 25 const proxySettings = stores.settings.proxy;
27 26
28 debug('Service Proxy autorun'); 27 debug('Service Proxy autorun');
@@ -30,7 +29,7 @@ export default function init(stores) {
30 services.forEach((service) => { 29 services.forEach((service) => {
31 const s = session.fromPartition(`persist:service-${service.id}`); 30 const s = session.fromPartition(`persist:service-${service.id}`);
32 31
33 if (config.isEnabled && (isPremiumUser || !config.isIncludedInCurrentPlan)) { 32 if (config.isEnabled) {
34 const serviceProxyConfig = proxySettings[service.id]; 33 const serviceProxyConfig = proxySettings[service.id];
35 34
36 if (serviceProxyConfig && serviceProxyConfig.isEnabled && serviceProxyConfig.host) { 35 if (serviceProxyConfig && serviceProxyConfig.isEnabled && serviceProxyConfig.host) {