fix
This commit is contained in:
parent
5d41b451cf
commit
91fd586a07
@ -95,9 +95,9 @@ def download_file():
|
|||||||
current_dir = os.getcwd()
|
current_dir = os.getcwd()
|
||||||
full_dir = os.path.join(current_dir, OUTPUT_FODLER)
|
full_dir = os.path.join(current_dir, OUTPUT_FODLER)
|
||||||
print("full_dir: " + full_dir)
|
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'])
|
@app.route(URL_BASE_PATH + 'download-pdf', methods=['GET'])
|
||||||
# @auth.login_required
|
# @auth.login_required
|
||||||
def download_pdf_file():
|
def download_pdf_file():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user