django-cors-headers==2.5.3 works with or without scheme aware origins
awais786 opened this issue · comments
I have question about django-cors-headers==2.5.3
. I am not getting any help or documentation link.
django-cors-headers==3.5.0 requires scheme aware CORS_ORIGIN_WHITELIST
but what about older version?
My project is using 2.5.3 and CORS_ORIGIN_WHITELIST = ['abcd.org', 'abc.org'].
I would really appreciate if some one refer a document link here or any guidance.
Thanks
THis was introduced in 3.0.0, see the changelog: https://github.com/adamchainz/django-cors-headers/blob/master/HISTORY.rst
Upgrade.
@adamchainz Does django-cors-headers==2.5.3 will work with 'https://abcd.org'
or give error ?
Sorry i did't understand the last comment. I want to use old settings ['abcd.org', 'abc.org'] with 2.5.3. Does it work ?