0

I have called third party API using Jquery AJAX. I am getting following error in console

Cross-Origin Read Blocking (CORB) blocked cross-origin response https://example.com/assets/front/font/fonts.min.css with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.

4

1 回答 1

0

添加到您的代码 PHP

header("Access-Control-Allow-Origin: *");

确保将其放在标题的顶部声明

于 2019-04-27T20:53:22.423 回答