mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-07-28 23:23:09 +00:00
Disable encoding and show only original file (#829)
Disable encoding and show only original file #829
This commit is contained in:
@ -467,7 +467,7 @@ except ImportError:
|
||||
|
||||
if "http" not in FRONTEND_HOST:
|
||||
# FRONTEND_HOST needs a http:// preffix
|
||||
FRONTEND_HOST = f"http://{FRONTEND_HOST}"
|
||||
FRONTEND_HOST = f"http://{FRONTEND_HOST}" # noqa
|
||||
|
||||
if LOCAL_INSTALL:
|
||||
SSL_FRONTEND_HOST = FRONTEND_HOST.replace("http", "https")
|
||||
@ -486,4 +486,7 @@ if GLOBAL_LOGIN_REQUIRED:
|
||||
r'/api/v[0-9]+/',
|
||||
]
|
||||
|
||||
# if True, only show original, don't perform any action on videos
|
||||
DO_NOT_TRANSCODE_VIDEO = False
|
||||
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
|
||||
|
Reference in New Issue
Block a user