django-cors-headers

CORS: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true

穿精又带淫゛_ 提交于 2019-11-25 22:59:52
问题 I have a setup involving Frontend server (Node.js, domain: localhost:3000) <---> Backend (Django, Ajax, domain: localhost:8000) Browser <-- webapp <-- Node.js (Serve the app) Browser (webapp) --> Ajax --> Django(Serve ajax POST requests) Now, my problem here is with CORS setup which the webapp uses to make Ajax calls to the backend server. In chrome, I keep getting Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true. doesn\'t work on firefox either. My Node.js