Skip to content

Commit

Permalink
remove compression and add development support.
Browse files Browse the repository at this point in the history
  • Loading branch information
korgan00 committed Sep 17, 2024
1 parent 5093b57 commit 8a501a0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions gateway/main/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"django.contrib.contenttypes",
"django.contrib.sessions",
"django.contrib.messages",
"whitenoise.runserver_nostatic",
"django.contrib.staticfiles",
"django.contrib.sites",
"django_prometheus",
Expand Down Expand Up @@ -200,13 +201,6 @@
"allauth.account.auth_backends.AuthenticationBackend",
]

STORAGES = {
"staticfiles": {
# allow whitenoise compression and cache
"BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage",
},
}

# Internationalization
# https://docs.djangoproject.com/en/4.1/topics/i18n/

Expand Down

0 comments on commit 8a501a0

Please sign in to comment.