Skip to content

Commit

Permalink
feat: no whitenoise compression (#17367)
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra authored Sep 13, 2023
1 parent 9fd2ac7 commit 63bc263
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion posthog/settings/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
STATIC_ROOT = os.path.join(BASE_DIR, "staticfiles")
STATIC_URL = "/static/"
STATICFILES_DIRS = [os.path.join(BASE_DIR, "frontend/dist"), os.path.join(BASE_DIR, "posthog/year_in_posthog/images")]
STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"
STATICFILES_STORAGE = "whitenoise.storage.ManifestStaticFilesStorage"

AUTH_USER_MODEL = "posthog.User"

Expand Down
4 changes: 2 additions & 2 deletions requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ antlr4-python3-runtime==4.13.0
amqp==2.6.0
boto3==1.26.66
boto3-stubs[s3]
brotli==1.0.9
brotli==1.1.0
celery==4.4.7
celery-redbeat==2.0.0
clickhouse-driver==0.2.4
Expand Down Expand Up @@ -78,7 +78,7 @@ temporalio==1.1.0
token-bucket==0.3.0
toronado==0.1.0
webdriver_manager==3.8.5
whitenoise==5.2.0
whitenoise==6.5.0
mimesis==5.2.1
more-itertools==9.0.0
django-two-factor-auth==1.14.0
Expand Down
6 changes: 4 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ botocore==1.29.66
# s3transfer
botocore-stubs==1.29.130
# via boto3-stubs
brotli==1.0.9
brotli==1.1.0
# via -r requirements.in
cachetools==5.3.1
# via google-auth
celery==4.4.7
# via
# -r requirements.in
Expand Down Expand Up @@ -507,7 +509,7 @@ vine==1.3.0
# celery
webdriver-manager==3.8.5
# via -r requirements.in
whitenoise==5.2.0
whitenoise==6.5.0
# via -r requirements.in
wsproto==1.1.0
# via trio-websocket
Expand Down

0 comments on commit 63bc263

Please sign in to comment.