From 613fa6b90e284c989559a65f305da5d6224a82ee Mon Sep 17 00:00:00 2001 From: creylopez Date: Thu, 16 Jan 2025 07:30:51 +0000 Subject: [PATCH] Actualizo allowed hosts --- src/cfehome/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cfehome/settings.py b/src/cfehome/settings.py index 500a65f..2cb56bc 100644 --- a/src/cfehome/settings.py +++ b/src/cfehome/settings.py @@ -25,8 +25,8 @@ SECRET_KEY = 'django-insecure-6i_hey)m8d1v1b@_%@j8x5ly)2%hu+^qa8i)urbc10z*sc17^! # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] - +ALLOWED_HOSTS = [".ocp-cluster.reymota.lab","127.0.0.1", ".sraopenshift.siemens.es"] +CSRF_TRUSTED_ORIGINS = ["https://*.ocp-cluster.reymota.lab", "https://*.sraopenshift.siemens.es"] # Application definition