修改配置文件路径

This commit is contained in:
chenchun
2022-04-24 17:09:43 +08:00
parent 6aa970c375
commit 6d008efd54
3 changed files with 7 additions and 3 deletions

View File

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