DEV Community

Discussion on: Yummyplan - An app to plan meals for an entire week🍞📅

 
jankapunkt profile image
Jan Küster

I tried with Chrome on XUbuntu 64bit and found, that there is an error with the service worker and CSP:

fd02311.js:1 [Report Only] Refused to create a worker from 'https://yummyplan.github.io/sw.js' because it violates the following Content Security Policy directive: "worker-src 'none'".
sw.js:3 Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'https://cdn.jsdelivr.net/npm/workbox-cdn@5.1.4/workbox/workbox-sw.js' failed to load.
    at https://yummyplan.github.io/sw.js:3:1
(anonymous) @ sw.js:3
An unknown error occurred when fetching the script.
Enter fullscreen mode Exit fullscreen mode

I will open an issue on GitHub :-)

Thread Thread
 
thormeier profile image
Pascal Thormeier

Thank you! For everyone else experiencing this issue, please see: github.com/yummyplan/yummyplan.git...