Compare commits

..

2 Commits

Author SHA1 Message Date
hang 860a09f6e8 Merge branch 'Test.IRC' of http://192.168.3.68:2000/XCKJ/irc-netcore-api into Test.IRC
continuous-integration/drone/push Build is passing Details
2023-12-08 11:36:47 +08:00
hang 59262a5c72 获取父目录修改方法 2023-12-08 11:36:45 +08:00
1 changed files with 1 additions and 2 deletions

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();