問題:前后端分離+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消失