Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
22.47k stars 1.55k forks source link

Content Security Policy directive "media-src 'self' #9252

Closed JayP718 closed 1 year ago

JayP718 commented 1 year ago

Cloud Version Version 2.29 https://a3datasolutionsllc.budibase.app/builder/app/app_a3datasolutionsllc_f86cf3da9ace4c12bb9ee76ae0b3e30f/

I've built a custom plugin based off of shogunpurple's https://github.com/shogunpurple/budibase-component-microphone.

All I'm trying to do is play audio from an attachment.

Unfortunately although it works on locally hosted Budibase platforms but due to CSP in the cloud version I get the following error and am not able to replay the audio.

Also raised it here https://github.com/shogunpurple/budibase-component-microphone/issues/2

Not sure if anything can be done to fix this but I thought I'd raise

shogunpurple commented 1 year ago

See comment https://github.com/Budibase/budibase/pull/8158#discussion_r1063808249