Код: Выделить всё
{
"Routes": [],
"GlobalConfiguration": {
"BaseUrl": "http://192.168.0.224:7150"
},
"FileReRoutes": [
{ "File": "ocelot/ocelot.app1.json" },
{ "File": "ocelot/ocelot.app2.json" }
]
}
Код: Выделить всё
builder.Configuration
.SetBasePath(builder.Environment.ContentRootPath)
.AddJsonFile("ocelot.json", optional: false, reloadOnChange: true);
Скажите пожалуйста, это нормально? Или я ошибаюсь?
Подробнее здесь: https://stackoverflow.com/questions/798 ... -in-ocelot
Мобильная версия