From ab1d07d6c3e75af5aa49c69ccb7eca3602ea3a10 Mon Sep 17 00:00:00 2001 From: Luna Date: Mon, 16 Sep 2019 14:56:17 -0300 Subject: [PATCH] README: add mediaproxy as optional requirement - config.example.py: signal None as valid value for MEDIA_PROXY --- README.md | 4 ++++ config.example.py | 1 + 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index 47eab60..49a0f57 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,11 @@ Requirements: - gifsicle for GIF emoji and avatar handling - [pipenv] +Optional requirement: +- [mediaproxy] + [pipenv]: https://github.com/pypa/pipenv +[mediaproxy]: https://gitlab.com/litecord/mediaproxy ### Download the code diff --git a/config.example.py b/config.example.py index e784e8e..2e225e4 100644 --- a/config.example.py +++ b/config.example.py @@ -54,6 +54,7 @@ class Config: #: Mediaproxy URL on the internet # mediaproxy is made to prevent client IPs being leaked. + # None is a valid value if you don't want to deploy mediaproxy. MEDIA_PROXY = 'localhost:5002' #: Postgres credentials