Bunny.net and plugin JS issues
-
Hi there!
Is it possible that this (wonderful!) plugin has issues with the .js being hosted on a CDN?
I’m using bunny.net as a cdn, and host all .js over there.The console throws me the following errors :
(index):1 Access to script at 'https://cdn.example.com/wp-content/plugins/presto-player/dist/components/web-components/p-4a716ef1.js' from origin 'https://example.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. p-4a716ef1.js:1 Failed to load resource: net::ERR_FAILED (index):1 Access to script at 'https://cdn.example.com/wp-content/plugins/presto-player/dist/components/web-components/p-8450ec66.entry.js' from origin 'https://example.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. p-8450ec66.entry.js:1 Failed to load resource: net::ERR_FAILED (index):1 Access to script at 'https://cdn.example.com/wp-content/plugins/presto-player/dist/components/web-components/web-components.esm.js?ver=1620201374' from origin 'https://example.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. web-components.esm.js:1 Failed to load resource: net::ERR_FAILED (index):1 Access to script at 'https://cdn.example.com/wp-content/plugins/presto-player/dist/components/web-components/p-1bfe365e.entry.js' from origin 'https://example.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.I changed my URL to example.com and the cdn as well.
Thanks,
Julien
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Bunny.net and plugin JS issues’ is closed to new replies.