Closed andreaskundig closed 1 year ago
cd data-experience/deployment-examples/html-plain python -m http.server
GET https://unpkg.com/@hestia.ai/data-experience@2.0.6/dist/csv.worker.1b068ab.js Not same-origin
Security Error: Content at http://localhost:8000/deployment-examples/html-plain/ may not load data from https://unpkg.com/@hestia.ai/data-experience@2.0.6/dist/csv.worker.1b068ab.js.
implementing this, you run into to the problem of loading the correct webpack url in importScripts()
https://stackoverflow.com/questions/55628146/how-can-i-use-importscripts-in-a-service-worker-when-using-webpack
to reproduce
error message from browser console
GET https://unpkg.com/@hestia.ai/data-experience@2.0.6/dist/csv.worker.1b068ab.js Not same-origin
Security Error: Content at http://localhost:8000/deployment-examples/html-plain/ may not load data from https://unpkg.com/@hestia.ai/data-experience@2.0.6/dist/csv.worker.1b068ab.js.
possible workarounds: