Skip to content

Commit

Permalink
bug(cor) setup cor
Browse files Browse the repository at this point in the history
- allow all origins to access the endpoints

[Delivers #162444011]
  • Loading branch information
Eyansky committed Dec 5, 2018
1 parent 615ace6 commit 0365859
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion authors/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = []
CORS_ORIGIN_ALLOW_ALL = True

# Application definition

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ whitenoise==4.1
wrapt==1.10.11
Django==2.1.2
django-autoslug-iplweb==1.9.4
django-versatileimagefield==1.10
django-versatileimagefield==1.10

0 comments on commit 0365859

Please sign in to comment.