small fixes and typos
This commit is contained in:
+1
-1
@@ -358,7 +358,7 @@ func (s *SettingService) Save(tx *gorm.DB, data json.RawMessage) error {
|
||||
return err
|
||||
}
|
||||
for key, obj := range settings {
|
||||
// Secure file existance check
|
||||
// Secure file existence check
|
||||
if obj != "" && (key == "webCertFile" ||
|
||||
key == "webKeyFile" ||
|
||||
key == "subCertFile" ||
|
||||
|
||||
Reference in New Issue
Block a user