Proxy setup is not working for react app

netlify.toml File

[[redirects]]
  from = "/api/*"
  to = "https://foodapp-backend-z289.onrender.com/:splat"
  status = 200
  force = true
 

Backend Code

import cors from "cors"
app.use(cors({ origin: "https://omnifood-nikhilverma.netlify.app" }));

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.