From cd3837652dc6e28794839afd87ba993c3a915484 Mon Sep 17 00:00:00 2001 From: Sergey Karmanov Date: Sat, 6 Sep 2025 19:52:55 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=B5=D1=80=D0=BD=D1=83=D0=BB=20openAPI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SfeduSchedule/Program.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SfeduSchedule/Program.cs b/SfeduSchedule/Program.cs index ccb4c2a..cfcd25e 100644 --- a/SfeduSchedule/Program.cs +++ b/SfeduSchedule/Program.cs @@ -45,6 +45,9 @@ if (string.IsNullOrEmpty(preinstsalledJwtToken)) var app = builder.Build(); +app.UseForwardedHeaders(); +app.MapOpenApi(); + var logger = app.Services.GetRequiredService>(); if (string.IsNullOrEmpty(preinstsalledJwtToken))