mirror of
https://github.com/Forceu/Gokapi.git
synced 2026-01-06 00:49:33 -06:00
Changed Mutex to RWMutex
This commit is contained in:
@@ -87,9 +87,9 @@ func resetPassword(passedFlags flags) {
|
||||
|
||||
func createSsl(passedFlags flags) {
|
||||
if passedFlags.createSsl {
|
||||
settings := configuration.GetServerSettings()
|
||||
configuration.Release()
|
||||
settings := configuration.GetServerSettingsReadOnly()
|
||||
ssl.GenerateIfInvalidCert(settings.ServerUrl, true)
|
||||
configuration.ReleaseReadOnly()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user