diff --git a/src/back/portal/settings.py b/src/back/portal/settings.py index 061b92da4..57b90b6a6 100644 --- a/src/back/portal/settings.py +++ b/src/back/portal/settings.py @@ -13,7 +13,6 @@ https://docs.djangoproject.com/en/4.2/ref/settings/ from pathlib import Path import os -DATA_UPLOAD_MAX_NUMBER_FIELDS=100000 CORS_ORIGIN_ALLOW_ALL=True # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent @@ -38,6 +37,8 @@ SWAGGER_SETTINGS = { } } } + + ALLOWED_HOSTS = str(os.getenv('DJANGO_ALLOWED_HOSTS')).split(', ') CSRF_TRUSTED_ORIGINS = str(os.getenv('DJANGO_CSRF_TRUSTED_ORIGINS')).split(', ') CHANNEL_LAYERS = { diff --git a/src/front/src/components/carousel-list.vue b/src/front/src/components/carousel-list.vue index 1df2878e7..e19ba5d25 100644 --- a/src/front/src/components/carousel-list.vue +++ b/src/front/src/components/carousel-list.vue @@ -15,7 +15,11 @@