title: Electron failed to load resource
body: <p>i using <a href="https://github.com/pbarbiero/basic-electron-react-boilerplate" rel="noreferrer">https://github.com/pbarbiero/basic-electron-react-boilerplate</a> but after update on my macOS i can't load anymore my application.</p>
  
  <p>On inspector, this error is show:</p>
  
  <blockquote>
    <p>Refused to execute inline script because it violates the following Content
    Security Policy directive: "default-src 'self'". Either the
    'unsafe-inline' keyword, a hash
    ('sha256-Z+HxFhVCHMznEI/lLsU2FT9krRiVCTm6bGApEd5HAtk='), or a nonce
    ('nonce-...') is required to enable inline execution. Note also that
    'script-src' was not explicitly set, so 'default-src' is used as a
    fallback.</p>
    
    <p>index.html Failed to load resource: the server responded with a status of 404 (Not Found)</p>
  </blockquote>
  
  <p>I tried this technique <a href="https://electronjs.org/docs/tutorial/security#csp-http-header" rel="noreferrer">https://electronjs.org/docs/tutorial/security#csp-http-header</a> but got same error.</p>
  
  <p>My macOS version is Mojave 10.14.2 (18C54)</p>