Merge pull request #50 from itdoginfo/fix/many-sni-support

feat: update network interface loading in podkop.js
This commit is contained in:
itdoginfo
2025-02-24 16:24:53 +03:00
committed by GitHub

View File

@@ -225,7 +225,11 @@ function createConfigSection(section, map, network) {
o = s.taboption('basic', form.ListValue, 'interface', _('Network Interface'), _('Select network interface for VPN connection'));
o.depends('mode', 'vpn');
o.ucisection = s.section;
getNetworkInterfaces(o);
o.load = function (section_id) {
return getNetworkInterfaces(this).then(() => {
return this.super('load', section_id);
});
};
o = s.taboption('basic', form.Flag, 'domain_list_enabled', _('Community Lists'));
o.default = '0';