5

Hi guys I have made a nodejs app and want to expose my lightning app in it.

The component seems to render but some functionality does not work in the dev console I am getting these errors:

Access to Font at 'https://quintessentially--devamir.lightning.force.com/_slds/fonts/v2.3.0/SalesforceSans-Regular.woff2' from origin 'https://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://localhost:3000' is therefore not allowed access.

localhost/:1 Access to Font at 'https://quintessentially--devamir.lightning.force.com/_slds/fonts/v2.3.0/SalesforceSans-Regular.woff' from origin 'https://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://localhost:3000' is therefore not allowed access.

XMLHttpRequest cannot load https://quintessentially--devamir.lightning.force.com/resource/1498143923000/Lightning_Library/lib/jquery-2.2.4.min.js. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://localhost:3000' is therefore not allowed access.

I am using jquery to do some interactions like hide/show sections these things are not working but the main functionality like saving does.

3
  • 1
    Hi, I've come across a similar issue. Did you have any luck with this?
    – RedQueries
    Commented Jun 27, 2017 at 15:44
  • Same problem here. Commented Jun 20, 2018 at 10:44
  • Hi, did you resolve it ? I am facing the same issue! Commented Jun 11, 2022 at 9:24

0

You must log in to answer this question.

Browse other questions tagged .