获取父目录修改方法

This commit is contained in:
2023-12-08 11:36:45 +08:00
parent bfad36af3d
commit 59262a5c72
+1 -2
View File
@@ -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();