From 940479fe38a087b07f77138fe6313fbbea0cb4eb Mon Sep 17 00:00:00 2001 From: Harry Hughes <hugheshi@cardiff.ac.uk> Date: Sun, 29 Jan 2023 17:04:12 +0000 Subject: [PATCH] Replace routes.py --- blog/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/routes.py b/blog/routes.py index 4b767fe..2102601 100644 --- a/blog/routes.py +++ b/blog/routes.py @@ -24,7 +24,7 @@ def cv(): @app.route('/download') def download(): - path = "./static/pdf/cv.pdf" + path = "static/pdf/cv.pdf" return send_file(path, as_attachment=True) @app.route("/blog") -- GitLab