Replies: 2 comments
-
This sounds it might be possibly something wrong on how we deploy extensions, unsure. I would try host an extension in say, GitHub pages, that have a standard trust and tried setup, and then see whether you can do:
and see whether that works. |
Beta Was this translation helpful? Give feedback.
-
Thanks @carlopi. I think I see what you mean now. I was confused because I am using the I was finally able to get it to work with:
However, I think this defeats the purpose of using vite because it still loads external plugins. So I'll try to use the CDN option to see if that works better. I would consider this a bug since personally I wouldn't expect a wasm to load another plugin hosted some where else. |
Beta Was this translation helpful? Give feedback.
-
I have
default-src 'self'; style-src 'self' 'unsafe-inline';img-src 'self' data:; script-src 'self' 'wasm-unsafe-eval'; connect-src: 'self' https://extensions.duckdb.org;
as my CSP and I still see an error like:If I remove the CSP headers it works fine. I am not sure what else to try. Seems like it should work given the
connect-src
.Beta Was this translation helpful? Give feedback.
All reactions