diff --git a/Sheaft.Web.Jobs/Sheaft.Web.Jobs.csproj.user b/Sheaft.Web.Jobs/Sheaft.Web.Jobs.csproj.user index 836b9afa4..3e660ccf5 100644 --- a/Sheaft.Web.Jobs/Sheaft.Web.Jobs.csproj.user +++ b/Sheaft.Web.Jobs/Sheaft.Web.Jobs.csproj.user @@ -1,7 +1,7 @@  - Docker + jobs ProjectDebugger diff --git a/Sheaft.Web.Jobs/Startup.cs b/Sheaft.Web.Jobs/Startup.cs index 91172255d..cfe06a1e8 100644 --- a/Sheaft.Web.Jobs/Startup.cs +++ b/Sheaft.Web.Jobs/Startup.cs @@ -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);