Skip to content

Commit

Permalink
Always compress in dev mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
jarofgreen committed Nov 8, 2024
1 parent 82a5755 commit 7ae478b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ services:
- RECAPTCHA_PUBLIC_KEY
- RECAPTCHA_PRIVATE_KEY
- DEBUG_SERVER
- COMPRESS_ENABLED
links:
- postgres
ports:
Expand Down
3 changes: 1 addition & 2 deletions iati/settings/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
hostname, _, ips = socket.gethostbyname_ex(socket.gethostname())
INTERNAL_IPS += [ip[: ip.rfind(".")] + ".1" for ip in ips]

if os.environ.get('COMPRESS_ENABLED'):
COMPRESS_ENABLED = True
COMPRESS_ENABLED = True

EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'

Expand Down

0 comments on commit 7ae478b

Please sign in to comment.