Skip to content

Commit

Permalink
fix(client): dont set default value for routing port
Browse files Browse the repository at this point in the history
Fixes: #186
Fixes: e4c3a5b ("chore(client): refine routing port settings")
Signed-off-by: Tianling Shen <[email protected]>
  • Loading branch information
1715173329 committed Sep 24, 2024
1 parent 29f517b commit b2d6180
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion htdocs/luci-static/resources/view/homeproxy/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ return view.extend({
_('Specify target ports to be proxied. Multiple ports must be separated by commas.'));
o.value('', _('All ports'));
o.value('common', _('Common ports only (bypass P2P traffic)'));
o.default = 'common';
o.validate = function(section_id, value) {
if (section_id && value && value !== 'common') {

Expand Down

0 comments on commit b2d6180

Please sign in to comment.