From 2687ee02159a66e0f59a20f6c2724b1de90679c8 Mon Sep 17 00:00:00 2001 From: Anna Grund Date: Sun, 31 Dec 2023 00:19:13 +0200 Subject: [PATCH] [AJP-3] Adjustments --- ajapaik/settings/default.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ajapaik/settings/default.py b/ajapaik/settings/default.py index 37e0a3a66..6c745e83c 100644 --- a/ajapaik/settings/default.py +++ b/ajapaik/settings/default.py @@ -104,7 +104,7 @@ SECRET_KEY = '!!! paste your own secret key here !!!' MIDDLEWARE = [ - # 'corsheaders.middleware.CorsMiddleware', + 'corsheaders.middleware.CorsMiddleware', 'django_hosts.middleware.HostsRequestMiddleware', 'django.middleware.gzip.GZipMiddleware', 'django.middleware.security.SecurityMiddleware', @@ -199,7 +199,7 @@ 'ajapaik.ajapaik_object_recognition', 'ajapaik.ajapaik_object_categorization', 'django_user_agents', - # 'corsheaders', + 'corsheaders', # Django allauth and related applications. 'allauth',