unfoldingWord-dev / translationDatabaseWeb

https://td.unfoldingword.org
8 stars 7 forks source link

Add CORS headers #732

Closed RobH123 closed 4 years ago

RobH123 commented 4 years ago

Allow CORS for door43.org, dev.door43.org.

Adds https://github.com/adamchainz/django-cors-headers/tree/2.4.1 which is compatible with (very old) Django 1.9

Not sure if merging this PR automatically deploys it (Heroku) but will find out I guess.

This is required for https://github.com/unfoldingWord-dev/door43.org/issues/629.

RobH123 commented 4 years ago

Note that tests have been failing for the last year.