Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
fix: updated the cors in AI server
Browse files Browse the repository at this point in the history
  • Loading branch information
izam-mohammed committed Mar 9, 2024
1 parent f6e4858 commit 5607de8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ai_server/ai_server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,7 @@

DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"

CORS_ORIGIN_ALLOW_ALL = True
CORS_ALLOWED_ORIGINS = [
"http://localhost:4000",
"https://thalia.vercel.app",
]

0 comments on commit 5607de8

Please sign in to comment.