mirror of
https://github.com/Baipyrus/ProxySwitcher.git
synced 2024-12-25 12:11:46 +00:00
bugfix: using configs filename on read
This commit is contained in:
parent
777de8f144
commit
c66937fdba
@ -7,7 +7,7 @@ import (
|
||||
)
|
||||
|
||||
func ReadConfigs(name string) ([]*Config, error) {
|
||||
file, err := os.Open("configs.json")
|
||||
file, err := os.Open(name)
|
||||
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Loading…
Reference in New Issue
Block a user