搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

CORS error

  • 無回覆
  • 1 有這個問題
  • 18 次檢視
more options

Good afternoon.

I use a Laravel-based API located on a domain with a connected SSL certificate (Let's Encrypt), configured with CORS headers (Fruitcake Laravel CORS library), configured to redirect to an https protocol with a .htaccess file. This API works without any problems in all browsers except Firefox. Everything would be fine, but other than that, when you try to go to any site, for example google.com, - I get an error, which you can see in the attached screenshot. Please help me solve the problem, because I can't understand why my project works in all browsers except your

Good afternoon. I use a Laravel-based API located on a domain with a connected SSL certificate (Let's Encrypt), configured with CORS headers (Fruitcake Laravel CORS library), configured to redirect to an https protocol with a .htaccess file. This API works without any problems in all browsers except Firefox. Everything would be fine, but other than that, when you try to go to any site, for example google.com, - I get an error, which you can see in the attached screenshot. Please help me solve the problem, because I can't understand why my project works in all browsers except your
附加的畫面擷圖