Skip to content

Commit

Permalink
Merge pull request #38 from andela/bg-fix-cors-165859835
Browse files Browse the repository at this point in the history
#165859835 Fix CORS
  • Loading branch information
ja-odur committed May 7, 2019
2 parents 1d0946b + 0725372 commit 6e24940
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions authors/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,7 @@

STATIC_URL = '/static/'

CORS_ORIGIN_WHITELIST = (
'0.0.0.0:4000',
'localhost:4000',
)
CORS_ORIGIN_ALLOW_ALL = True

# Tell Django about the custom `User` model we created. The string
# `authentication.User` tells Django we are referring to the `User` model in
Expand Down

0 comments on commit 6e24940

Please sign in to comment.