From 34e8786091be6461093f63db5c7b627bf8e91801 Mon Sep 17 00:00:00 2001 From: Ville Rantanen Date: Thu, 31 Oct 2019 19:30:09 +0200 Subject: [PATCH] allow viewing of files --- code/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/app.py b/code/app.py index 4313d59..8f82568 100644 --- a/code/app.py +++ b/code/app.py @@ -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 )