Access to script at from origin 'null' has been blocked by CORS policy
Closed this issue · 3 comments
sibbng commented
Hi, looks like it doesn't allow requests from iframe srcdoc.
Access to script at 'https://esbuild.vercel.app/preact/hooks' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
egoist commented
should work now
sibbng commented
should work now
Yep cors issue fixed but it looks like inlines preact import within preact/hooks.
In my opinion it should import preact from https://esbuild.vercel.app/preact instead of inlining it.
egoist commented
yeah maybe peerDependecies should been excluded
…On Tue, Mar 30, 2021 at 11:08 PM Nurettin Kaya ***@***.***> wrote:
should work now
Yep cors issue fixed but it looks like inlines preact import within
preact/hooks.
In my opinion it should import preact from
https://esbuild.vercel.app/preact instead of inlining it.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACDAWSE35CRKKAH7ORM2DKLTGHSPFANCNFSM42CHMMBA>
.