From 210714c49967d740972861707ec0a00008f9f244 Mon Sep 17 00:00:00 2001 From: itdoginfo Date: Mon, 30 Jun 2025 16:24:33 +0300 Subject: [PATCH] unnecessary check --- .../htdocs/luci-static/resources/view/podkop/configSection.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/configSection.js b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/configSection.js index b0d45c9..b0c181c 100644 --- a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/configSection.js +++ b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/configSection.js @@ -179,10 +179,6 @@ function createConfigSection(section, map, network) { if (!params.get('pbk')) return _('Invalid VLESS URL: missing pbk parameter for reality security'); if (!params.get('fp')) return _('Invalid VLESS URL: missing fp parameter for reality security'); } - - if (security === 'tls' && type !== 'tcp' && !params.get('sni')) { - return _('Invalid VLESS URL: missing sni parameter for tls security'); - } } return true;