0

How to resolve this error

Access to script at 'https://kit.fontawesome.com/a076d05399.js' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

12th Sep 2021, 8:03 AM
Gayatri Dunakhe
Gayatri Dunakhe - avatar
1 Answer
+ 1
You can't unless the fontawesome server gives permission to access it's resources from the origin that you are using to make request. But there is something know as proxy that makes a request on behalf of you and can access resource( i am not sure how it do so) and then forward those resources to you. The proxies that i have tried failed in many cases and hardly there is any available for free. It will be good to know if someone knows about a free proxy ! Edit : The above also occurs if you are using browser to make request. browsers block cross origin requests unless the server allows it . Server side request might work !
12th Sep 2021, 8:11 AM
Abhay
Abhay - avatar