mirror of
https://github.com/wger-project/wger.git
synced 2026-12-02 10:09:21 +01:00
Add missing requirement (django CORS)
This commit is contained in:
@@ -20,6 +20,7 @@ django-bootstrap-breadcrumbs
|
||||
djangorestframework==2.3.13
|
||||
django-filter
|
||||
django-tastypie==0.9.16
|
||||
django-cors-headers
|
||||
|
||||
# Python3 compatibility
|
||||
six
|
||||
|
||||
@@ -369,4 +369,4 @@ SOUTH_MIGRATION_MODULES = {
|
||||
|
||||
# Set CORS policy: allow all hosts to access the API
|
||||
CORS_ORIGIN_ALLOW_ALL = True
|
||||
CORS_URLS_REGEX = r'^/api/.*$'
|
||||
CORS_URLS_REGEX = r'^/api/.*$'
|
||||
|
||||
Reference in New Issue
Block a user