Skip to content

Commit 4b7f756

Browse files
committed
remove commented out code
1 parent 3b7dd4a commit 4b7f756

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

Intersect.Server/Web/ApiService.cs

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -75,35 +75,6 @@ internal partial class ApiService : ApplicationService<ServerContext, IApiServic
7575
builder.Environment.EnvironmentName
7676
);
7777

78-
// builder.WebHost.ConfigureKestrel(
79-
// ko =>
80-
// {
81-
// ko.ConfigureEndpointDefaults(lo =>
82-
// {
83-
// lo.Protocols = HttpProtocols.Http1;
84-
// }
85-
// );
86-
// ko.ConfigureHttpsDefaults(
87-
// hcao =>
88-
// {
89-
// // hcao.SslProtocols = SslProtocols.Tls12 | SslProtocols.Tls13;
90-
// hcao.SslProtocols = SslProtocols.Tls12;
91-
// hcao.OnAuthenticate += (context, options) =>
92-
// {
93-
// // options.AllowRenegotiation = true;
94-
// // options.CipherSuitesPolicy = new CipherSuitesPolicy(
95-
// // [
96-
// // TlsCipherSuite.TLS_AES_128_GCM_SHA256,
97-
// // TlsCipherSuite.TLS_AES_256_GCM_SHA384,
98-
// // TlsCipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
99-
// // ]
100-
// // );
101-
// };
102-
// }
103-
// );
104-
// }
105-
// );
106-
10778
var updateServerSection = builder.Configuration.GetSection(GetOptionsName<UpdateServerOptions>());
10879
builder.Services.Configure<UpdateServerOptions>(updateServerSection);
10980

0 commit comments

Comments
 (0)