allow viewing of files
This commit is contained in:
@@ -540,7 +540,7 @@ def download_expiring(ehash, filename = None):
|
|||||||
filename = os.path.basename(file_path)
|
filename = os.path.basename(file_path)
|
||||||
return send_file(
|
return send_file(
|
||||||
file_path,
|
file_path,
|
||||||
as_attachment = True,
|
as_attachment = False,
|
||||||
attachment_filename = filename
|
attachment_filename = filename
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user