diff --git a/posthog/settings/web.py b/posthog/settings/web.py index 6e32dff2e6138..5fd6e2a61c238 100644 --- a/posthog/settings/web.py +++ b/posthog/settings/web.py @@ -103,6 +103,7 @@ "posthog.health.healthcheck_middleware", "posthog.middleware.ShortCircuitMiddleware", "posthog.middleware.AllowIPMiddleware", + "whitenoise.middleware.WhiteNoiseMiddleware", "django.contrib.sessions.middleware.SessionMiddleware", "posthog.middleware.SessionAgeMiddleware", "corsheaders.middleware.CorsMiddleware", @@ -116,7 +117,6 @@ "posthog.middleware.AutoLogoutImpersonateMiddleware", "django.middleware.clickjacking.XFrameOptionsMiddleware", "posthog.middleware.CsvNeverCacheMiddleware", - "whitenoise.middleware.WhiteNoiseMiddleware", "axes.middleware.AxesMiddleware", "posthog.middleware.AutoProjectMiddleware", "posthog.middleware.CHQueries",