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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM