Proxy setup is not working for react app

netlify.toml File

  from = "/api/*"
  to = ""
  status = 200
  force = true

Backend Code

import cors from "cors"
app.use(cors({ origin: "" }));

I just need to make a request from my frontend to deployed backend

So what’s the issue that you’re having? You’ve just shared the configuration, not the issue/error.