mirror of
https://github.com/bitwarden/server.git
synced 2025-04-21 04:55:08 -05:00
Switch to empty builder
This commit is contained in:
parent
0400ae187a
commit
ee4678453b
@ -259,9 +259,7 @@ public class X509ChainCustomizationServiceCollectionExtensionsTests
|
|||||||
|
|
||||||
private static async Task<IAsyncDisposable> CreateServerAsync(int port, Action<HttpsConnectionAdapterOptions> configure)
|
private static async Task<IAsyncDisposable> CreateServerAsync(int port, Action<HttpsConnectionAdapterOptions> configure)
|
||||||
{
|
{
|
||||||
// Start HTTP Server with self signed cert
|
var builder = WebApplication.CreateEmptyBuilder(new WebApplicationOptions());
|
||||||
var builder = WebApplication.CreateSlimBuilder();
|
|
||||||
builder.Logging.AddFakeLogging();
|
|
||||||
builder.Services.AddRoutingCore();
|
builder.Services.AddRoutingCore();
|
||||||
builder.WebHost.UseKestrelCore()
|
builder.WebHost.UseKestrelCore()
|
||||||
.ConfigureKestrel(options =>
|
.ConfigureKestrel(options =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user