- Strapi Version: 4.10.5
- Operating System: Heroku
- Database: PostgreSQL
- Node Version:
- NPM Version:
- Yarn Version:
I may have a misconception of how it works, but I configured the
cors middleware just like in the CORS docs. However, when I request an endpoint (e.g.
api/products), I don’t see anything in the response headers.
I know my config worked because the Strapi Dashboard got blocked by CORS, but still nothing in the headers.
I would like
Access-Control-Allow-Origin to show up in the network chrome tab, just like https://api.publicapis.org/entries:
I’m trying to do this because I’m experiencing random network errors in the frontend, and everything seems to point to it being a CORS issue.
I’m not sure if this is a good idea or not. Any guidance would be appreciated.
My headers response: