Skip to content

Commit

Permalink
Fix - Correction du binding de health pour le site jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmugnier committed Nov 25, 2020
1 parent 30dd432 commit 4a19e68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sheaft.Web.Jobs/Sheaft.Web.Jobs.csproj.user
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ActiveDebugProfile>Docker</ActiveDebugProfile>
<ActiveDebugProfile>jobs</ActiveDebugProfile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
Expand Down
2 changes: 1 addition & 1 deletion Sheaft.Web.Jobs/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -308,12 +308,12 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env, IOptions

app.UseEndpoints(endpoints =>
{
endpoints.MapControllers();
endpoints.MapHangfireDashboard("", new DashboardOptions
{
AppPath = "https://app.sheaft.com",
Authorization = new[] { new MyAuthorizationFilter() }
});
endpoints.MapControllerRoute("default", "{controller=Home}/{action=Index}/{id?}");
});

RecuringJobs.Register(routineOptions.Value);
Expand Down

0 comments on commit 4a19e68

Please sign in to comment.