mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 19:56:51 +08:00
Fix: should write file if provider initialize from HTTP (#1365)
This commit is contained in:
parent
226e6d1b4d
commit
5bdc855565
|
@ -72,6 +72,8 @@ func (f *fetcher) Initial() (interface{}, error) {
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
isLocal = false
|
||||
}
|
||||
|
||||
if f.vehicle.Type() != File && !isLocal {
|
||||
|
|
Loading…
Reference in New Issue
Block a user