File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 132132 ПараметрыЗапуска = Новый Массив;
133133 ПараметрыЗапуска.Добавить("CREATEINFOBASE" );
134134 ПараметрыЗапуска.Добавить("File="" " + КаталогВременнойБазы+ """ ;" );
135- ПараметрыЗапуска.Добавить("/UseTemplate"" " + мКаталогСборки + "\source.cf" + """ " );
136135 ПараметрыЗапуска.Добавить("/Out"" " + ФайлИнформации() + """ " );
137136
138137 Сообщить ("Создание временной базы" );
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ This Source Code Form is subject to the terms of the
1616using System . Threading . Tasks ;
1717using Microsoft . AspNetCore . Diagnostics ;
1818using ExecutionContext = ScriptEngine . Machine . ExecutionContext ;
19+ using Microsoft . Extensions . Configuration ;
1920
2021namespace 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 } ) ;
You can’t perform that action at this time.
0 commit comments