mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:13:26 +08:00
【优化】调整接口及后端的【Program.cs】中引用【NLog.config】文件名大小写,防止linux下大小写敏感导致的读取失败。
This commit is contained in:
@@ -248,7 +248,7 @@ app.UseStaticFiles();
|
||||
try
|
||||
{
|
||||
//确保NLog.config中连接字符串与appsettings.json中同步
|
||||
NLogUtil.EnsureNlogConfig("nlog.config");
|
||||
NLogUtil.EnsureNlogConfig("NLog.config");
|
||||
//其他项目启动时需要做的事情
|
||||
NLogUtil.WriteAll(LogLevel.Trace, LogType.ApiRequest, "后端启动", "后端启动成功");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user