allow viewing of files

This commit is contained in:
2019-10-31 19:30:09 +02:00
parent 6fba1e3240
commit 34e8786091

View File

@@ -540,7 +540,7 @@ def download_expiring(ehash, filename = None):
filename = os.path.basename(file_path)
return send_file(
file_path,
as_attachment = True,
as_attachment = False,
attachment_filename = filename
)