From dedb2f444713098d636fb37ee205cc5310c576f4 Mon Sep 17 00:00:00 2001
From: Harry Hughes <hugheshi@cardiff.ac.uk>
Date: Sun, 29 Jan 2023 16:35:10 +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 a8b3ef4..8ba302f 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