Skip to content

Commit

Permalink
Update settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
leopoldch authored Mar 25, 2024
1 parent a495b35 commit f452539
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False

ALLOWED_HOSTS = ['dbsapi.lchappuis.fr', 'localhost', 'dbs.etu-utc.fr']
ALLOWED_HOSTS = ['dbsapi.lchappuis.fr', 'localhost', 'dbs.etu-utc.fr', 'decibels.assos.utc.fr','dbs-serv-eth.mde.utc']
CSRF_TRUSTED_ORIGINS = [
'https://dbsapi.lchappuis.fr',
'https://dbs.etu-utc.fr',
'https://decibels.assos.utc.fr',
]

STATIC_URL = '/django_static/'
Expand Down

0 comments on commit f452539

Please sign in to comment.