Skip to content

Commit

Permalink
add accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedHamed12 committed Apr 4, 2024
1 parent 552d1b5 commit a09356c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions project/project/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,12 @@


}
### CORS HEADERS ###
CORS_ALLOW_HEADERS = ["*"]
CORS_ALLOW_ALL_ORIGINS = True
INSTALLED_APPS += [
'corsheaders',
]
MIDDLEWARE += [
'corsheaders.middleware.CorsMiddleware',
]

0 comments on commit a09356c

Please # to comment.