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