From d1634d08138566f2b2258ae42b5cf5427865a866 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Thu, 24 Aug 2023 14:55:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=A7=E7=BB=AD=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.API/_PipelineExtensions/HangfireConfig.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRaCIS.Core.API/_PipelineExtensions/HangfireConfig.cs b/IRaCIS.Core.API/_PipelineExtensions/HangfireConfig.cs index 2e11041ea..e235774c0 100644 --- a/IRaCIS.Core.API/_PipelineExtensions/HangfireConfig.cs +++ b/IRaCIS.Core.API/_PipelineExtensions/HangfireConfig.cs @@ -18,7 +18,7 @@ namespace IRaCIS.Core.API { - app.UseHangfireDashboard("/api/hangfire", new DashboardOptions() + app.UseHangfireDashboard("/hangfire", new DashboardOptions() { //直接访问,没有带token 获取不到用户身份信息,所以这种自定义授权暂时没法使用 //Authorization = new[] { new hangfireAuthorizationFilter() }