mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 17:15:38 +08:00
fix: init config file
This commit is contained in:
@@ -31,7 +31,7 @@ impl IClashTemp {
|
||||
map.insert("external-controller".into(), "127.0.0.1:9090".into());
|
||||
map.insert("secret".into(), "".into());
|
||||
|
||||
Self(Self::guard(map))
|
||||
Self(map)
|
||||
}
|
||||
|
||||
fn guard(mut config: Mapping) -> Mapping {
|
||||
@@ -57,10 +57,6 @@ impl IClashTemp {
|
||||
)
|
||||
}
|
||||
|
||||
// pub fn get_info(&self) -> ClashInfo {
|
||||
// self.1.clone()
|
||||
// }
|
||||
|
||||
pub fn get_mixed_port(&self) -> u16 {
|
||||
Self::guard_mixed_port(&self.0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user