Skip to content

Commit

Permalink
*: fix mw order
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehco1996 committed Oct 7, 2023
1 parent 09c8e7e commit 258ece2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/default/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 258ece2

Please sign in to comment.