title: How to fix CORB(Cross-Origin Read Blocking) error of google chrome in node.js?
body: <p>I am trying to make a checkout using paypal-rest-sdk and when after successful response it is redirecting to the approval_url then it is giving error as given below.</p>
  
  <blockquote>
    <p>Cross-Origin Read Blocking (CORB) blocked cross-origin response <a href="https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&amp;token=EC-9TM98470K35457508" rel="nofollow noreferrer">https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&amp;token=EC-9TM98470K35457508</a> with MIME type text/html. See <a href="https://www.chromestatus.com/feature/5629709824032768" rel="nofollow noreferrer">https://www.chromestatus.com/feature/5629709824032768</a> for more details.</p>
  </blockquote>
  
  <pre><code>paypal.payment.create(create_payment_json, function (error, payment) {
      if (error) {
          res.status(500).json({success: false,msg:'error -'+ error});
      }
      else {
          for(var i = 0; i &lt; payment.links.length; i++){
              if(payment.links[i].rel === 'approval_url' &amp;&amp; 
                  payment.links[i].method === 'REDIRECT'){
                   //  this is coming in console
                  console.log('payment is processing');
                   // error is coming here when redirecting to payment gate
                  res.redirect(payment.links[i].href);
              }
          }
      }
  });
  </code></pre>
  
  <p>It should successfully redirect to the payment gateway.</p>