Skip to content

Commit

Permalink
fix: cores headers 에러 수정
Browse files Browse the repository at this point in the history
{} -> () 로 수정했습니다
  • Loading branch information
ybkang1108 authored Aug 1, 2024
1 parent 0286b37 commit 4637559
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mustgou/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,16 +124,16 @@

CORS_ALLOWED_ORIGINS = config("CORS_ALLOWED_ORIGINS", default="").split(",")

CORS_ALLOW_METHODS = {
CORS_ALLOW_METHODS = (
"DELETE",
"GET",
"OPTIONS",
"PATCH",
"POST",
"PUT",
}
)

CORS_ALLOW_HEADERS = {
CORS_ALLOW_HEADERS = (
"accept",
"accept-encoding",
"authorization",
Expand All @@ -143,7 +143,7 @@
"user-agent",
"x-csrftoken",
"x-requested-with",
}
)


# Internationalization
Expand Down

0 comments on commit 4637559

Please sign in to comment.