I have a python web app running on DigitalOcean App platform, perfectly working with Postman. However, when I'm trying to make requests from my localhost or website, thay all are blocked by CORS with this message: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I've configured CORS in my app settings with my website domain as mentioned in DO docs, but It still not working. But somehow It works with Postman.