Skip to content

Commit 0ea3e8e

Browse files
committed
添加自定义流量出口功能
1 parent a4d0086 commit 0ea3e8e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Mihomo/global_script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,8 @@ function main(config) {
629629
config['geo-auto-update'] = true
630630
config['geo-update-interval'] = 24
631631

632-
if (config.interfaceName.length > 0) {
633-
config['interface-name'] = config.interfaceName
632+
if (interfaceName.length > 0) {
633+
config['interface-name'] = interfaceName
634634
}
635635

636636
config['sniffer'] = {

0 commit comments

Comments
 (0)