kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Update views.py, typo on apache
rodzic
be7e8e1e7e
commit
66597a1874
|
@ -238,7 +238,7 @@ class TrackFileViewSet(viewsets.ReadOnlyModelViewSet):
|
|||
f.serve_from_source_path)
|
||||
response = Response()
|
||||
filename = f.filename
|
||||
if settings.REVERSE_PROXY_TYPE == 'apache':
|
||||
if settings.REVERSE_PROXY_TYPE == 'apache2':
|
||||
response['X-Sendfile'] = file_path
|
||||
elif settings.REVERSE_PROXY_TYPE == 'nginx':
|
||||
response['X-Accel-Redirect'] = file_path
|
||||
|
|
Ładowanie…
Reference in New Issue