From 61111d387adc89d3427e8ccc47a773de1445caed Mon Sep 17 00:00:00 2001 From: rootdarkarchon Date: Sat, 7 Jan 2023 23:44:35 +0100 Subject: [PATCH] get kestrel server options from config --- MareSynchronosServer/MareSynchronosStaticFilesServer/Startup.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MareSynchronosServer/MareSynchronosStaticFilesServer/Startup.cs b/MareSynchronosServer/MareSynchronosStaticFilesServer/Startup.cs index 14d2d48..f0301a8 100644 --- a/MareSynchronosServer/MareSynchronosStaticFilesServer/Startup.cs +++ b/MareSynchronosServer/MareSynchronosStaticFilesServer/Startup.cs @@ -7,6 +7,7 @@ using MareSynchronosShared.Services; using MareSynchronosShared.Utils; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Server.Kestrel.Core; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; using Microsoft.IdentityModel.Tokens; @@ -35,6 +36,7 @@ public class Startup services.Configure(Configuration.GetRequiredSection("MareSynchronos")); services.Configure(Configuration.GetRequiredSection("MareSynchronos")); + services.Configure(Configuration.GetSection("Kestrel")); services.AddSingleton(Configuration); var mareConfig = Configuration.GetRequiredSection("MareSynchronos");