How to reject requests coming from other domains in Laravel 7?

后端 未结 0 1688
慢半拍i
慢半拍i 2021-02-14 18:28

I had to comment the line below in the Kernel.php file to avoid Laravel sending access-control-allow-origin headers:

 //\\Fruitcake\\Cor         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题