Skip to content

Commit

Permalink
fix bag
Browse files Browse the repository at this point in the history
  • Loading branch information
azizjon-aliev committed Oct 20, 2023
1 parent fc873e3 commit 84f86bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/application/config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
DEBUG = True

# CORS
ALLOWED_HOSTS = os.environ.get("DJANGO_ALLOWED_HOSTS", default=[]).split(",")
CSRF_TRUSTED_ORIGINS = os.getenv("DJANGO_CORS_ALLOWED_ORIGINS", default=[]).split(",")
CORS_ALLOWED_ORIGINS = os.getenv("DJANGO_CORS_ALLOWED_ORIGINS", default=[]).split(",")
ALLOWED_HOSTS = os.environ.get("DJANGO_ALLOWED_HOSTS", default="").split(",")
CSRF_TRUSTED_ORIGINS = os.getenv("DJANGO_CORS_ALLOWED_ORIGINS", default="").split(",")
CORS_ALLOWED_ORIGINS = os.getenv("DJANGO_CORS_ALLOWED_ORIGINS", default="").split(",")
CORS_ALLOW_METHODS = (
"DELETE",
"GET",
Expand Down

0 comments on commit 84f86bf

Please sign in to comment.