Skip to content

Commit

Permalink
feat(server): allow set tls_sni for reality
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
  • Loading branch information
1715173329 committed Jul 12, 2024
1 parent f0c8511 commit 29a884e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions htdocs/luci-static/resources/view/homeproxy/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -479,8 +479,7 @@ return view.extend({

o = s.option(form.Value, 'tls_sni', _('TLS SNI'),
_('Used to verify the hostname on the returned certificates unless insecure is given.'));
o.depends({'tls': '1', 'tls_reality': '0'});
o.depends({'tls': '1', 'tls_reality': null});
o.depends('tls', '1');
o.modalonly = true;

o = s.option(form.DynamicList, 'tls_alpn', _('TLS ALPN'),
Expand Down

0 comments on commit 29a884e

Please sign in to comment.