load key from file
This commit is contained in:
1 parent
c4b45a51d5
commit
c5e3482538
3 files changed
+24
-1
No files matched your search
@@ -63,6 +63,7 @@ func Init(rowVal interface{}) *viper.Viper {
|
||||
if err := v.Unmarshal(rowVal); err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
LoadKeyFile(&rowVal.(*Config).Rustdesk)
|
||||
return v
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user