|
|
@@ -26,7 +26,7 @@ SECRET_KEY = 'hey'
|
|
|
# SECURITY WARNING: don't run with debug turned on in production!
|
|
|
DEBUG = os.environ["DEBUG"] == 'True'
|
|
|
|
|
|
-ALLOWED_HOSTS = os.environ.get("DJANGO_ALLOWED_HOSTS").split(" ")
|
|
|
+ALLOWED_HOSTS = [".ocp-cluster.reymota.lab"]
|
|
|
|
|
|
|
|
|
# Application definition
|
|
|
@@ -150,10 +150,7 @@ AUTH_USER_MODEL = "reymotausers.ReyMotaUser"
|
|
|
MEDIA_ROOT = BASE_DIR / "mediafiles"
|
|
|
MEDIA_URL = '/media/'
|
|
|
|
|
|
-if DEBUG is False:
|
|
|
- CSRF_TRUSTED_ORIGINS = os.environ.get("CSRF_TRUSTED_ORIGINS").split(" ")
|
|
|
-
|
|
|
-CSRF_TRUSTED_ORIGINS = os.environ.get("CSRF_TRUSTED_ORIGINS").split(" ")
|
|
|
+CSRF_TRUSTED_ORIGINS = ["https://*.ocp-cluster.reymota.lab"]
|
|
|
|
|
|
# Configuración de correo con Gmail
|
|
|
if DEBUG is True:
|