Skip to content

Commit

Permalink
[fix] : bug fix in settings.py
Browse files Browse the repository at this point in the history
Summary:

update CSRF_TRUSTED_ORIGINS  from https://*.prod1.defang.dev to https://*.defang.dev
  • Loading branch information
CynthiaWahome authored Sep 11, 2024
1 parent 11e4b74 commit 08cbbbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/defang_sample/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@

# CSRF
CSRF_TRUSTED_ORIGINS = [
'https://*.prod1.defang.dev'
'https://*.defang.dev'
]

if DEBUG:
CSRF_TRUSTED_ORIGINS = [
'http://localhost:8000',
]
]

0 comments on commit 08cbbbd

Please sign in to comment.