Skip to content

Commit

Permalink
fix(settings): Add CROS- origin
Browse files Browse the repository at this point in the history
- Add CROS origin

[Fixes #164047075]
  • Loading branch information
Kibetchirchir committed Mar 30, 2019
1 parent d4fdf5e commit 970f908
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion authors/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@

from django.core.wsgi import get_wsgi_application

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "authors.settings.prod")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "authors.settings.local")

application = get_wsgi_application()
7 changes: 7 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,20 @@ coreapi==2.3.3
coreschema==0.0.4
coverage==4.5.2
cssselect==1.0.3
dataclasses==0.6
defusedxml==0.5.0
dj-database-url==0.5.0
Django==2.1.7
django-braces==1.13.0
django-cors-headers==2.5.2
django-cors-middleware==1.3.1
django-extensions==2.1.6
django-heroku==0.3.1
django-oauth-toolkit==1.2.0
django-rest-framework-social-oauth2==1.1.0
django-rest-swagger==2.2.0
django-social-share==1.3.2
django-stubs==0.9.0
django-taggit==0.24.0
djangorestframework==3.9.1
djangorestframework-stubs==0.3.0
Expand All @@ -37,6 +40,8 @@ MarkupSafe==1.1.1
mccabe==0.6.1
mock==2.0.0
more-itertools==6.0.0
mypy==0.670
mypy-extensions==0.4.1
oauthlib==3.0.1
openapi-codec==1.3.2
pbr==5.1.3
Expand All @@ -62,6 +67,8 @@ six==1.12.0
social-auth-app-django==3.1.0
social-auth-core==3.1.0
soupsieve==1.8
typed-ast==1.3.1
typing-extensions==3.7.2
uritemplate==3.0.0
urllib3==1.24.1
whitenoise==4.1.2
Expand Down

0 comments on commit 970f908

Please sign in to comment.