mirror of
https://github.com/fumiama/imago.git
synced 2026-06-12 12:50:32 +08:00
✨ switch to secure version
This commit is contained in:
@@ -131,6 +131,6 @@ func (remo *RemoteStorage) SaveConf(data []byte) error {
|
||||
|
||||
// SaveConf Save config file into storage
|
||||
func (remo *RemoteStorage) GetConf() (data []byte, err error) {
|
||||
data, _, err = remo.cli.GetFile("cfg", "conf.pb")
|
||||
data, _, err = remo.cli.GetSecureFile("cfg", "conf.pb")
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user