Skip to content

Commit

Permalink
允许跨域访问
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer121121 committed Jan 8, 2019
1 parent 6d3de29 commit c63902c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/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 = []
ALLOWED_HOSTS = ['*']


# Application definition
Expand Down

0 comments on commit c63902c

Please sign in to comment.