title: AngularJS Http Request return 401 from a SailsJS server with Electron
body: <p>I'm building a Electron App. Any request I make with Angular running on the Electron App return with unauthorized.</p>
  
  <p>I already checked for the poilicies from Sails, disabled all policies. If I make a request for the same url from Postman or even Chrome it works ok.</p>
  
  <pre><code>$http.get(CONFIG.API + 'auth/login', $scope.login).then(function (data) {
      console.log(data);
  });
  </code></pre>