mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-03 00:00:58 +08:00
修改配置文件路径
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Yi.Framework.WebCore.BuilderExtend
|
||||
{
|
||||
if (JsonFile==null)
|
||||
{
|
||||
string[] myJsonFile = new string[] { "appsettings.json", "configuration.json" };
|
||||
string[] myJsonFile = new string[] { "appsettings.json", "Config/configuration.json" };
|
||||
foreach (var item in myJsonFile)
|
||||
{
|
||||
builder.AddJsonFile(item, optional: true, reloadOnChange: false);
|
||||
|
||||
Reference in New Issue
Block a user