Skip to content

Commit

Permalink
Added HOST ALLOWED
Browse files Browse the repository at this point in the history
  • Loading branch information
AnsahMohammad committed Sep 13, 2023
1 parent 8374e42 commit 4864c93
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions study_sense/study_sense/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@
],
}

ALLOWED_HOSTS = [
'studysense.onrender.com',
'localhost',
'127.0.0.1',
]

CORS_ALLOWED_ORIGINS = [
"http://localhost:5173",
"https://studysenseai.netlify.app"
Expand Down

0 comments on commit 4864c93

Please sign in to comment.