Closed

Nginx server issues

This project received 21 bids from talented freelancers with an average bid price of $31 USD.

Get free quotes for a project like this
Project Budget
$10 - $30 USD
Total Bids
21
Project Description

I have an Nginx server running nodejs that serves the api to a couple of my projects. Everything works fine in localhost dev mode, but when i deploy the server, the api is only accessible through postman simulated requests. The error says: rent:1 Failed to load [url removed, login to view]: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed. Origin 'http://localhost:3001' is therefore not allowed access.

This looks like a client side issue, but I can't figure out how to solve it.

The client side is a React.js project. So preferably someone knows react,

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online