title: Axios and Vue won't make an api call to my server , due to a cors policy issue
body: <p>I have my cors setup in my express(Node) server like this: </p>
  
  <pre><code>server.options('*',cors());
  server.use(cors());
  </code></pre>
  
  <p>and making the call on my Vue website like this</p>
  
  <pre><code>axios.default
            .post(url, {
              firstName: this.firstName,
              lastName: this.lastName,
              email: this.email,
              interests: this.interests,
              targetURL: "https://www.joinvurchase.com/email-verified/",
              poolID
            })
  </code></pre>
  
  <p>But I get the following error:</p>
  
  <pre><code>has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
  </code></pre>
  
  <p>I think the cors on my server is setup correctly because when I make a call using postman it works and returns <code>Access-Control-Allow-Origin →*</code> header. Also when I make a call on my website, it errors out almost instantly. So it may not even making it to my server. The exact same setup works when tested locally. The issue is present after both the server and the website are deployed to Heroku.</p>