Skip to content

Commit 2717a98

Browse files
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents be900b5 + 6660a0f commit 2717a98

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

install/examples/distr_build.os

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@
132132
ПараметрыЗапуска = Новый Массив;
133133
ПараметрыЗапуска.Добавить("CREATEINFOBASE");
134134
ПараметрыЗапуска.Добавить("File="""+КаталогВременнойБазы+""";");
135-
ПараметрыЗапуска.Добавить("/UseTemplate""" + мКаталогСборки + "\source.cf" + """");
136135
ПараметрыЗапуска.Добавить("/Out""" + ФайлИнформации() + """");
137136

138137
Сообщить("Создание временной базы");

src/OneScript.Web.Server/WebServer.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ This Source Code Form is subject to the terms of the
1616
using System.Threading.Tasks;
1717
using Microsoft.AspNetCore.Diagnostics;
1818
using ExecutionContext = ScriptEngine.Machine.ExecutionContext;
19+
using Microsoft.Extensions.Configuration;
1920

2021
namespace OneScript.Web.Server
2122
{
@@ -91,6 +92,10 @@ private void ConfigureApp()
9192
var builder = WebApplication.CreateBuilder(appOptions);
9293
builder.WebHost.ConfigureKestrel(options =>
9394
{
95+
var kestrelSection = builder.Configuration.GetSection("Kestrel");
96+
options.Configure(kestrelSection);
97+
kestrelSection.Bind(options);
98+
9499
options.AllowSynchronousIO = true;
95100
options.ListenAnyIP(Port);
96101
});

0 commit comments

Comments
 (0)