Fix acme.json file automatic creation
This commit is contained in:
parent
b1be062437
commit
3be74bb275
16 changed files with 61 additions and 38 deletions
|
@ -26,7 +26,7 @@ func NewLocalStore(file string) *LocalStore {
|
|||
func (s *LocalStore) Get() (*Account, error) {
|
||||
account := &Account{}
|
||||
|
||||
hasData, err := checkFile(s.file)
|
||||
hasData, err := acme.CheckFile(s.file)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue