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?}"); });