Adding asynchronous methods

This commit is contained in:
LinkLeong 2023-03-24 08:07:38 +00:00
parent 60a141fe25
commit 8c7c8dc1ec
2 changed files with 1 additions and 1 deletions

View file

@ -84,7 +84,6 @@ func init() {
///
// service.MountLists = make(map[string]*mountlib.MountPoint)
// configfile.Install()
service.MyService.Storage().CheckAndMountAll()
}
// @title casaOS API

View file

@ -92,5 +92,6 @@ func InitNetworkMount() {
}
connection.Directories = strings.Join(directories, ",")
service.MyService.Connections().UpdateConnection(&connection)
service.MyService.Storage().CheckAndMountAll()
}
}