|
@@ -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(() =>
|
|
|
{
|