mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 19:06:09 +00:00
We should not key off of `S3_KEY`/`S3_SECRET_KEY`, since those are
optional if the host is in EC2 and using instance profiles. Instead,
check if `LOCAL_UPLOADS_DIR` is None1, which is the authoritative
source for if the S3 backend is in use.
(cherry picked from commit ba5d1108c0)
48 KiB
48 KiB