resume reroute

This commit is contained in:
2024-12-29 20:51:43 -05:00
parent a2c05e5c97
commit f18b57bc0d
3 changed files with 3 additions and 2 deletions

View File

@@ -47,8 +47,9 @@ for i in pages:
@app.route("/resume")
@app.route("/Resume.pdf")
@app.route("/Resume_Simonson_Andrew.pdf")
def resume():
return flask.send_file("./static/Resume.pdf")
return flask.send_file("./static/Resume_Simonson_Andrew.pdf")
@app.errorhandler(Exception)
def page404(e):

View File

@@ -85,7 +85,7 @@
<div onClick="goto('home')" class="navElement">
<p>Home</p>
</div>
<a href="Resume.pdf" target="_blank" class="navElement">
<a href="Resume_Simonson_Andrew.pdf" target="_blank" class="navElement">
<span>Resume</span>
</a>
<div onclick="goto('projects')" class="navElement">