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消失

猜你喜欢

转载自www.cnblogs.com/Maple512/p/11587075.html