Skip to content
Snippets Groups Projects
Commit dad5bddf authored by Harry Hughes's avatar Harry Hughes
Browse files

Replace routes.py

parent 42d2e7fc
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,8 @@ def cv():
@app.route('/download')
def download():
return send_file('./static/pdf/cv.pdf', as_attachment=True)
path = "./static/pdf/cv.pdf"
return send_file(path, as_attachment=True)
@app.route("/blog")
def blog():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment