Skip to content

Commit

Permalink
chore: settings.py에 CORS_ALLO_METHODS 추가
Browse files Browse the repository at this point in the history
chore: settings.py에 CORS_ALLO_METHODS 추가
  • Loading branch information
BaekSeungW00 committed Aug 17, 2023
2 parents e48a384 + 5351090 commit 581d6ae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@

CORS_ALLOW_CREDENTIALS = True
CORS_ORIGIN_ALLOW_ALL = True
CORS_ALLOW_METHODS = [
'GET',
'POST',
'PUT',
'PATCH',
'DELETE',
'OPTIONS'
]

ROOT_URLCONF = 'config.urls'

Expand Down
Binary file modified requirements.txt
Binary file not shown.

0 comments on commit 581d6ae

Please sign in to comment.