luci-app-homeproxy: sync upstream

last commit: b2d6180f95
This commit is contained in:
gitea-action 2024-09-24 20:30:11 +08:00
parent ccacf586b6
commit 7868a95774

View File

@ -236,7 +236,6 @@ return view.extend({
_('Specify target ports to be proxied. Multiple ports must be separated by commas.')); _('Specify target ports to be proxied. Multiple ports must be separated by commas.'));
o.value('', _('All ports')); o.value('', _('All ports'));
o.value('common', _('Common ports only (bypass P2P traffic)')); o.value('common', _('Common ports only (bypass P2P traffic)'));
o.default = 'common';
o.validate = function(section_id, value) { o.validate = function(section_id, value) {
if (section_id && value && value !== 'common') { if (section_id && value && value !== 'common') {