From 488503b360806def859e7792919b68ab29ae44e1 Mon Sep 17 00:00:00 2001 From: c0mrade Date: Tue, 2 Jun 2026 19:54:34 +0300 Subject: [PATCH] =?UTF-8?q?fix(deeplink):=20=D0=BF=D0=BE=D0=B4=D0=B4=D0=B5?= =?UTF-8?q?=D1=80=D0=B6=D0=B0=D1=82=D1=8C=20=D1=81=D1=85=D0=B5=D0=BC=D1=83?= =?UTF-8?q?=20incy://=20=D0=B2=20=D1=80=D0=B5=D0=B4=D0=B8=D1=80=D0=B5?= =?UTF-8?q?=D0=BA=D1=82=D0=B5=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F=20=D0=BF=D0=BE=D0=B4=D0=BF=D0=B8=D1=81=D0=BA?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Новое приложение INCY (incy://import/{url}) не открывалось на роутах /add и /connect: DeepLinkRedirect держит хардкод-allowlist разрешённых схем (happ, hiddify, v2rayng, streisand…), и isValidDeepLink резал incy:// как неизвестную схему. Добавил incy:// в список. Бэкенд не трогаю: _create_deep_link / _get_url_scheme_for_app собирают deep-link из urlScheme Remnawave-конфига полностью обобщённо (без списка имён), incy:// он строит сам. Mini-app путь (redirect.html) тоже generic. --- src/pages/DeepLinkRedirect.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/DeepLinkRedirect.tsx b/src/pages/DeepLinkRedirect.tsx index 7422e35..4479b28 100644 --- a/src/pages/DeepLinkRedirect.tsx +++ b/src/pages/DeepLinkRedirect.tsx @@ -17,6 +17,7 @@ type Status = 'countdown' | 'fallback' | 'error'; // App schemes configuration - same as miniapp const appSchemes = [ { scheme: 'happ://', icon: 'H', name: 'Happ' }, + { scheme: 'incy://', icon: 'I', name: 'INCY' }, { scheme: 'flclash://', icon: 'F', name: 'FlClash' }, { scheme: 'clash://', icon: 'C', name: 'Clash Meta' }, { scheme: 'sing-box://', icon: 'S', name: 'sing-box' },