diff --git a/IRaCIS.Core.API/Progranm.cs b/IRaCIS.Core.API/Progranm.cs index 2bedccf9f..83d58d0b9 100644 --- a/IRaCIS.Core.API/Progranm.cs +++ b/IRaCIS.Core.API/Progranm.cs @@ -292,9 +292,8 @@ try Log.Logger.Warning($"ContentRootPath:{env.ContentRootPath}"); - Log.Logger.Warning($"ContentRootPath——GetParent-notriem:{Directory.GetParent(env.ContentRootPath).FullName}"); - Log.Logger.Warning($"ContentRootPath——GetParent:{Directory.GetParent(env.ContentRootPath.TrimEnd('\\')).FullName}"); + Log.Logger.Warning($"ContentRootPath——GetParent:{Path.GetDirectoryName(env.ContentRootPath)}"); app.Run();