修改警告4
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-11-30 17:58:17 +08:00
parent ae6a0faa03
commit 9cf8ef47bb
8 changed files with 27 additions and 24 deletions
@@ -608,7 +608,7 @@ public static class FileStoreHelper
var json = File.ReadAllText( Path.Combine(_hostEnvironment.ContentRootPath, "appsettings.json"));
JObject jsonObject = JObject.Parse(json, new JsonLoadSettings() { CommentHandling = CommentHandling.Load });
JObject jsonObject = (JObject.Parse(json, new JsonLoadSettings() { CommentHandling = CommentHandling.Load })).IfNullThrowException();
int switchingRatio = 80;