ansible-openwisp2 issueshttps://gitlab.ninux.org/openwisp/ansible-openwisp2/-/issues2019-01-23T18:37:22Zhttps://gitlab.ninux.org/openwisp/ansible-openwisp2/-/issues/69[django] Add support for CORS (Cross-Origin Resource Sharing)2019-01-23T18:37:22ZHispanicomarco@ingmg.com[django] Add support for CORS (Cross-Origin Resource Sharing)*Created by: nemesisdesign*
We need to make it possible to enable CORS because [other applications may need to access some APIs to get data](https://lists.funkfeuer.at/pipermail/interop-dev/2017-December/000732.html).
We can use this...*Created by: nemesisdesign*
We need to make it possible to enable CORS because [other applications may need to access some APIs to get data](https://lists.funkfeuer.at/pipermail/interop-dev/2017-December/000732.html).
We can use this module: [django-cors-headers](https://pypi.python.org/pypi/django-cors-headers/2.1.0) - which is configurable via django settings, we have to make sure we can configure every available setting of this module, possibly using a single ansible variable containing a dictionary.
This feature should be optional and turned off by default now.