hi
I’m having a cors error when calling one specific backend API route, from my client-side, the app is deployed to Heroku separately server API, and client app
I used Nodejs express PostgreSQL and react
I configured the cors middleware globally to allow API calls for all the APIs, as shown below:
This is the only route that throws cors error in my deployed app, and by the way, in my local development env it works as expected, this route is used to download files from server to client site, the files are hosted in google drive:
It took me all night, still couldn’t resolve this issue, thank you in advance🙏