From 55711d68c1cffc45e2e3fdbf8db341bdd26b3564 Mon Sep 17 00:00:00 2001 From: Paul Mathieu Date: Thu, 3 Aug 2023 17:59:59 +0200 Subject: [PATCH] backend: allow all hosts --- backend/zetikettes/zetikettes/settings.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/backend/zetikettes/zetikettes/settings.py b/backend/zetikettes/zetikettes/settings.py index 7bf1059..fe69c80 100644 --- a/backend/zetikettes/zetikettes/settings.py +++ b/backend/zetikettes/zetikettes/settings.py @@ -29,9 +29,8 @@ SECRET_KEY = 'django-insecure-64qxpe55#9wy=5@#dl0)3w7ywxh48m!f&!slp9e7v4lh@hjdct # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = ['aerith.ponteilla.net', 'localhost'] - -CSRF_TRUSTED_ORIGINS = ['https://aerith.ponteilla.net'] +ALLOWED_HOSTS = ['*'] +CSRF_TRUSTED_ORIGINS = ['https://*'] # Application definition