From c0ff915f434f71dbfd3252f32eab29c0f95e72a5 Mon Sep 17 00:00:00 2001 From: Egor Date: Tue, 20 Jan 2026 02:15:44 +0300 Subject: [PATCH 1/3] Update index.html --- public/miniapp/index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/miniapp/index.html b/public/miniapp/index.html index 66d4e21..479f839 100644 --- a/public/miniapp/index.html +++ b/public/miniapp/index.html @@ -12417,6 +12417,7 @@ cachedHappCryptolinkRedirectTemplate = undefined; userData.subscriptionUrl = userData.subscription_url || null; userData.subscriptionCryptoLink = userData.subscription_crypto_link || null; + userData.hideSubscriptionLink = Boolean(userData.hide_subscription_link); userData.referral = userData.referral || null; const happData = payload?.happ; @@ -25097,8 +25098,11 @@ updateInstructionConnectButtons(showConnectButton && anyConnectLink); const subscriptionUrl = getCurrentSubscriptionUrl(); + const hideLink = Boolean(userData?.hideSubscriptionLink || userData?.hide_subscription_link); if (copyBtn) { const hasUrl = Boolean(subscriptionUrl); + // Скрываем кнопку копирования если hide_subscription_link=true + copyBtn.classList.toggle('hidden', hideLink); copyBtn.disabled = !hasUrl || !navigator.clipboard; } } From 86fa0a1b4e2dc87e59edc708aa1bc0ff4ad2f03b Mon Sep 17 00:00:00 2001 From: Egor Date: Tue, 20 Jan 2026 02:17:47 +0300 Subject: [PATCH 2/3] Update index.ts --- src/types/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types/index.ts b/src/types/index.ts index 480fd88..2154f86 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -65,6 +65,7 @@ export interface Subscription { autopay_enabled: boolean autopay_days_before: number subscription_url: string | null + hide_subscription_link: boolean is_active: boolean is_expired: boolean traffic_purchases?: TrafficPurchase[] From 3c9cc0ea9d3631a830e3ebe9e6c9a8e266599589 Mon Sep 17 00:00:00 2001 From: Egor Date: Tue, 20 Jan 2026 02:22:17 +0300 Subject: [PATCH 3/3] Delete public/miniapp/index.html --- public/miniapp/index.html | 26898 ------------------------------------ 1 file changed, 26898 deletions(-) delete mode 100644 public/miniapp/index.html diff --git a/public/miniapp/index.html b/public/miniapp/index.html deleted file mode 100644 index 479f839..0000000 --- a/public/miniapp/index.html +++ /dev/null @@ -1,26898 +0,0 @@ - - - - - - - Pedzeo VPN - - - - - - - - -
- -
- -
- - - - - - - -
- -
- - - - -
-
-
-
- - -
-
-
-
-
-
-
-
- -
- - - - - - - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
- - - - - - -
- - - - - - - - -
- -