From 9dd94b2d745b88aa98e48ad403f43ef2ba321c0b Mon Sep 17 00:00:00 2001 From: Harry Hughes <hugheshi@cardiff.ac.uk> Date: Sun, 29 Jan 2023 16:33:20 +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 29ad5ae..a8b3ef4 100644 --- a/blog/routes.py +++ b/blog/routes.py @@ -24,7 +24,7 @@ def cv(): @app.route('/download') def download(): - return send_file('static\pdf\cv.pdf', as_attachment=True) + return send_file('static/pdf/cv.pdf', as_attachment=True) @app.route("/blog") def blog(): -- GitLab