From b5b50b97ea4248ebea4e55d6b0b57c4dd4fb629a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=ABl=20Mugnier?= Date: Thu, 26 Nov 2020 09:46:00 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20-=20Correction=20de=20l'acc=C3=A8s=20au?= =?UTF-8?q?=20health=20endpoint=20en=20Anonymous?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sheaft.Web.Jobs/Startup.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sheaft.Web.Jobs/Startup.cs b/Sheaft.Web.Jobs/Startup.cs index cfe06a1e8..aedc0c59e 100644 --- a/Sheaft.Web.Jobs/Startup.cs +++ b/Sheaft.Web.Jobs/Startup.cs @@ -310,8 +310,7 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env, IOptions { endpoints.MapHangfireDashboard("", new DashboardOptions { - AppPath = "https://app.sheaft.com", - Authorization = new[] { new MyAuthorizationFilter() } + AppPath = Configuration.GetValue("Portal:Url"), }); endpoints.MapControllerRoute("default", "{controller=Home}/{action=Index}/{id?}"); });