[go: nahoru, domu]

Skip to content

Commit

Permalink
deployment changes
Browse files Browse the repository at this point in the history
  • Loading branch information
seraleman committed Oct 14, 2021
1 parent 60d1486 commit eddc1dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion authProject/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
DEBUG = True

ALLOWED_HOSTS = []

CORS_ALLOW_ALL_ORIGINS = True

# Application definition

Expand All @@ -41,6 +41,7 @@
'django.contrib.staticfiles',
'rest_framework',
'authApp',
'corsheaders',
]

SIMPLE_JWT = {
Expand All @@ -63,6 +64,7 @@
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'corsheaders.middleware.CorsMiddleware',
]

REST_FRAMEWORK = {
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ djangorestframework==3.12.4
djangorestframework-simplejwt==4.8.0
psycopg2==2.9.1
gunicorn==20.1.0
django-heroku==0.3.1
django-heroku==0.3.1
django-cors-headers==3.10.0

0 comments on commit eddc1dd

Please sign in to comment.