title: Configure CSP in an Ember CLI application which uses http-mock
body: <p>I'm using http-mock with Ember CLI as suggested on <a href="http://www.ember-cli.com/#ember-data" rel="noreferrer">http://www.ember-cli.com/#ember-data</a>. I understand the basic concept of CSP but I don't understand the configuration of it within an Ember CLI application.</p>
  
  <p>How can I configure my application to either accept requests to <code>localhost:4200/api/</code> to avoid this during development:</p>
  
  <pre><code>Content Security Policy violation: {
      "csp-report": {
          "document-uri":"http://localhost:4200/products",
          "referrer":"",
          "violated-directive":"style-src 'self'",
          "effective-directive":"style-src",
          "original-policy":"default-src 'none'; script-src 'self' 'unsafe-eval' localhost:35729 0.0.0.0:35729; font-src 'self'; connect-src 'self' ws://localhost:35729 ws://0.0.0.0:35729 http://0.0.0.0:4200/csp-report; img-src 'self'; style-src 'self'; media-src 'self'; report-uri http://0.0.0.0:4200/csp-report;",
          "blocked-uri":"",
          "source-file":"chrome-extension://alelhddbbhepgpmgidjdcjakblofbmce",
          "line-number":1,"column-number":20481,"status-code":200
      }
  }
  </code></pre>