76.4 F
Tuesday, September 26, 2023

Fixing CSP Errors in LWC OSS apps | Developer Quick Takes


When running LWC OSS apps using Express Server on platforms like Heroku, you may run into CSP issues when using Images, Scripts, or API calls to third-party domains. Watch this Quick Take to find out how to fix these errors.

Check out the source code for the app used in the demo: https://github.com/adityanaag3/csp-lwcoss

00:00 Intro
00:21 What is Content Security Policy
02:36 Fixing CSP errors in LWC OSS apps

Connect with Salesforce Developers:
Website: https://www.developer.salesforce.com/
Facebook: https://www.facebook.com/salesforcedevs/
Twitter: https://www.twitter.com/salesforcedevs
LinkedIn: https://www.linkedin.com/showcase/salesforce-developers

Track: BeatFort – Rampant Sunrise
Music provided by Ninety9Lives
Stream / Free Download: 99l.tv/rampantsunriseYU

Share post:

crm erp


More like this

Dreamforce 2023 Developer Keynote: The Future of Development

Join President and Chief Engineering Officer, Srini Tallapragada, and...

codeLive: Einstein Studio

Join Danielle and Data Cloud product experts to view...

Pause 2023 Takes Place Next Week!

Today, as ever, two factors are essential to Pause...

Tracking Lead Status History & Conversion Rates in Salesforce

Why is a Holistic View of Your Lead Funnel...