Disable encoding and show only original file (#829)

Disable encoding and show only original file #829
This commit is contained in:
Markos Gogoulos
2023-11-10 14:25:10 +02:00
committed by GitHub
parent 15d217453b
commit e8d3ff25be
5 changed files with 31 additions and 7 deletions

View File

@ -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'