mirror of
https://github.com/Forceu/Gokapi.git
synced 2026-05-04 05:21:10 -05:00
Changed Mutex to RWMutex
This commit is contained in:
+2
-2
@@ -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