XW hai 2 meses
pai
achega
12873d6e08

+ 2 - 2
TEAMModelOS.Extension/IES.Exam/IES.ExamServer/DI/ServiceInitializer.cs

@@ -145,8 +145,8 @@ namespace IES.ExamServer.DI
                 ip = dataModify.primaryNetwork?.ip,
                 read=0
             };
-            string filePath = Path.Combine(Directory.GetCurrentDirectory(),"start.json");
-            await File.WriteAllTextAsync(filePath, dataFile.ToJsonString());
+            string startPath = Path.Combine(Directory.GetCurrentDirectory(),"start.json");
+            await File.WriteAllTextAsync(startPath, dataFile.ToJsonString());
             StringBuilder sb = new StringBuilder();
             _lifetime.ApplicationStarted.Register(() =>
             {