Skip to content

Commit

Permalink
chore: Simplify CSRF trusted origins configuration for production env…
Browse files Browse the repository at this point in the history
…ironment
  • Loading branch information
AhmedNassar7 committed Feb 28, 2025
1 parent e5f3fb2 commit 62c19a2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion backup2.json

This file was deleted.

3 changes: 0 additions & 3 deletions metro/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,6 @@
"http://127.0.0.1:8000",
"http://localhost:8000",
"https://backend-54v5.onrender.com",
] if ENVIRONMENT == "prod" else [
"http://127.0.0.1:8000",
"http://localhost:8000",
]

# Add development URLs to CSRF trusted origins
Expand Down

0 comments on commit 62c19a2

Please sign in to comment.