diff --git a/Endpoint/Configuration/Core/Middleware/MaintenanceModeMiddleware.cs b/Endpoint/Configuration/Core/Middleware/MaintenanceModeMiddleware.cs index 68825dc..adfee69 100644 --- a/Endpoint/Configuration/Core/Middleware/MaintenanceModeMiddleware.cs +++ b/Endpoint/Configuration/Core/Middleware/MaintenanceModeMiddleware.cs @@ -30,8 +30,6 @@ public class MaintenanceModeMiddleware(RequestDelegate next, IMaintenanceModeSer throw new ServerUnavailableException( "The service is currently not configured. Go to the setup page if you are an administrator or try again later.", false); - - await context.Response.WriteAsync(error); } } } \ No newline at end of file