From 7228d1f4205a48302e2741d1947de29026e67f20 Mon Sep 17 00:00:00 2001 From: DavidEggenberger Date: Fri, 29 Mar 2024 17:11:18 +0100 Subject: [PATCH] update --- Source/Web/Server/BuildingBlocks/Registrator.cs | 2 +- Source/Web/Server/Startup.cs | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Source/Web/Server/BuildingBlocks/Registrator.cs b/Source/Web/Server/BuildingBlocks/Registrator.cs index 82afb468..23785c50 100644 --- a/Source/Web/Server/BuildingBlocks/Registrator.cs +++ b/Source/Web/Server/BuildingBlocks/Registrator.cs @@ -22,7 +22,7 @@ public static IServiceCollection AddBuildingBlocks(this IServiceCollection servi return services; } - public static IApplicationBuilder UseBuildingBlocksMiddleware(this IApplicationBuilder applicationBuilder) + public static IApplicationBuilder UseBuildingBlocks(this IApplicationBuilder applicationBuilder) { applicationBuilder.UseApiVersioningMiddleware(); applicationBuilder.UseExceptionHandlingMiddleware(); diff --git a/Source/Web/Server/Startup.cs b/Source/Web/Server/Startup.cs index 4b444414..6cd29c96 100644 --- a/Source/Web/Server/Startup.cs +++ b/Source/Web/Server/Startup.cs @@ -2,7 +2,6 @@ using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; -using Shared.Features.MultiTenancy; using Shared.Features.Modules; using Modules.Channels.Web.Server; using Modules.LandingPages.Server; @@ -47,8 +46,6 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env) app.UseBuildingBlocks(); - app.UseMultiTenancyMiddleware(); - app.UseEndpoints(endpoints => { endpoints.MapControllers();