Do not prepend /media/ when using base_url
authorfeld <feld@feld.me>
Wed, 24 Jul 2019 15:35:25 +0000 (15:35 +0000)
committerkaniini <ariadne@dereferenced.org>
Wed, 24 Jul 2019 15:35:25 +0000 (15:35 +0000)
commit84fca14c3c6b3a5a6f3b0894903867dfa50a78bb
treeb0a7fa03d0522e7b6ae243bb62b750fcb653fb6b
parent7286cdff7a1487e79ee48b572fe6888542b1dfbd
Do not prepend /media/ when using base_url

This ensures admin has full control over the path where media resides.
lib/pleroma/upload.ex
test/upload_test.exs