问题:前后端分离+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消失