diff --git a/SIREST_B08/settings.py b/SIREST_B08/settings.py
index 0eaad8525533666f34ac1fe7e0da2a71d3806b3a..8bc1a9e29dcd3a20ec547ca086dfdf24c41e29b5 100644
--- a/SIREST_B08/settings.py
+++ b/SIREST_B08/settings.py
@@ -36,14 +36,10 @@ PRODUCTION = os.getenv('DATABASE_URL') is not None
 # SECURITY WARNING: don't run with debug turned on in production!
 # If you want to enable debugging on Heroku for learning purposes,
 # set this to True.
-DEBUG = not PRODUCTION
+DEBUG = True
 
-HEROKU_APP_NAME = os.getenv('HEROKU_APP_NAME', '')
-
-ALLOWED_HOSTS = [f'{HEROKU_APP_NAME}.herokuapp.com']
-
-if not PRODUCTION:
-    ALLOWED_HOSTS += ['.localhost', '127.0.0.1', '[::1]']
+ALLOWED_HOSTS = ["*"]
+CSRF_TRUSTED_ORIGINS = [f'https://sirest-b08.up.railway.app']
 
 
 # Application definition