This commit is contained in:
dechert 2021-06-21 12:25:54 +02:00
parent 5d41b451cf
commit 91fd586a07

View File

@ -95,9 +95,9 @@ def download_file():
current_dir = os.getcwd()
full_dir = os.path.join(current_dir, OUTPUT_FODLER)
print("full_dir: " + full_dir)
return send_from_directory(full_dir, "slide-deck.md", as_attachment=True) \
\
\
return send_from_directory(full_dir, "slide-deck.md", as_attachment=True)
@app.route(URL_BASE_PATH + 'download-pdf', methods=['GET'])
# @auth.login_required
def download_pdf_file():