Skip to content

Commit

Permalink
Add clash_api to default sing-box config base
Browse files Browse the repository at this point in the history
  • Loading branch information
tindy2013 committed Apr 8, 2024
1 parent 6af2c56 commit 04ac987
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
11 changes: 10 additions & 1 deletion base/base/all_base.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,16 @@ enhanced-mode-by-rule = true
"rules": [],
"auto_detect_interface": true
},
"experimental": {}
"experimental": {
"cache_file": {
"enabled": true,
"store_fakeip": true
},
"clash_api": {
"external_controller": "127.0.0.1:9090",
"external_ui": "dashboard"
}
}
}

{% endif %}
11 changes: 10 additions & 1 deletion base/base/singbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,14 @@
"rules": [],
"auto_detect_interface": true
},
"experimental": {}
"experimental": {
"cache_file": {
"enabled": true,
"store_fakeip": true
},
"clash_api": {
"external_controller": "127.0.0.1:9090",
"external_ui": "dashboard"
}
}
}

0 comments on commit 04ac987

Please sign in to comment.