Skip to content

Commit 4c181d1

Browse files
committed
Remove the hangfire dashboard
1 parent ae9c5ef commit 4c181d1

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

src/Serval/src/Serval.ApiServer/Startup.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,7 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
173173
app.UseRequestTimeouts();
174174
app.UseOutputCache();
175175
app.UseAuthorization();
176-
app.UseEndpoints(x =>
177-
{
178-
x.MapControllers();
179-
x.MapHangfireDashboard();
180-
});
176+
app.UseEndpoints(x => x.MapControllers());
181177

182178
app.UseOpenApi(o =>
183179
{

src/Serval/src/Serval.ApiServer/Usings.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
global using System.Text.Json.Serialization;
66
global using Asp.Versioning;
77
global using Bugsnag.AspNet.Core;
8-
global using Hangfire;
98
global using Microsoft.AspNetCore.Authentication.JwtBearer;
109
global using Microsoft.AspNetCore.Authorization;
1110
global using Microsoft.AspNetCore.Http.Timeouts;

0 commit comments

Comments
 (0)