Now return media files with absolute URL
This commit is contained in:
parent
e8eaf6db94
commit
da4c76ace8
5 changed files with 17 additions and 3 deletions
|
|
@ -313,7 +313,8 @@ REST_FRAMEWORK = {
|
|||
}
|
||||
|
||||
ATOMIC_REQUESTS = False
|
||||
|
||||
USE_X_FORWARDED_HOST = True
|
||||
USE_X_FORWARDED_PORT = True
|
||||
# Wether we should check user permission before serving audio files (meaning
|
||||
# return an obfuscated url)
|
||||
# This require a special configuration on the reverse proxy side
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue