title: How to understand and solve stripe error?
body: <p>In my <code>tour.pug</code> main head file this:</p>
  <pre><code>extends base
  include _reviewCard
  block append head
      script(src=&quot;https://api.mapbox.com/mapbox-gl-js/v2.6.1/mapbox-gl.js&quot;)
      link(href='https://api.mapbox.com/mapbox-gl-js/v2.6.1/mapbox-gl.css' rel='stylesheet')
      script(src='https://js.stripe.com/v3/')
      
  </code></pre>
  <p>In my <code>stripe.js</code> file:</p>
  <pre><code>const stripe = Stripe('pk_test_something...')
  </code></pre>
  <p>When I load I get error:</p>
  <blockquote>
  <p>Refused to load the script 'https://js.stripe.com/v3/' because it
  violates the following Content Security Policy directive: &quot;script-src
  <a href="https://cdnjs.cloudflare.com" rel="nofollow noreferrer">https://cdnjs.cloudflare.com</a> <a href="https://api.mapbox.com" rel="nofollow noreferrer">https://api.mapbox.com</a> 'self' blob:&quot;.
  Note that 'script-src-elem' was not explicitly set, so 'script-src' is
  used as a fallback.</p>
  </blockquote>
  <p>After this I get mapbox error too:</p>
  <blockquote>
  <p>Refused to connect to 'ws://localhost:50364/' because it violates the
  following Content Security Policy directive: &quot;default-src 'self'
  https://*.mapbox.com&quot;. Note that 'connect-src' was not explicitly set,
  so 'default-src' is used as a fallback.</p>
  </blockquote>
  <p>I didnt understand what mean these errors and how to fix these issues. Thanks</p>