diff --git a/configs/default/common.py b/configs/default/common.py index df30ae768d..7364116d51 100644 --- a/configs/default/common.py +++ b/configs/default/common.py @@ -26,9 +26,9 @@ MIDDLEWARE = [ "django_prometheus.middleware.PrometheusBeforeMiddleware", + "corsheaders.middleware.CorsMiddleware", "django.middleware.security.SecurityMiddleware", "django.contrib.sessions.middleware.SessionMiddleware", - "corsheaders.middleware.CorsMiddleware", "django.middleware.common.CommonMiddleware", "django.middleware.csrf.CsrfViewMiddleware", "django.contrib.auth.middleware.AuthenticationMiddleware",