HangfireDashboard跨域问题(未解决)

问题:前后端分离+NetCore+Hangfire+CORS中,使用UseHangfireDashboard()时,会出现warn日志

Warn日志内容:The CORS protocol does not allow specifying a wildcard (any) origin and credentials at the same time. Configure the policy by listing individual origins if credentials needs to be supported.

注释app.UseHangfireDashboard()后,该Warn消失

posted @ 2019-09-25 20:03  Maple512  阅读(712)  评论(0编辑  收藏  举报