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