From c3e75a7c2ea19ae514c482025d3797912bbc997c Mon Sep 17 00:00:00 2001 From: willhockey20 Date: Tue, 20 Dec 2022 20:04:56 -0500 Subject: [PATCH] uhhhhhhhhhhhhh --- goathacks/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/goathacks/__init__.py b/goathacks/__init__.py index 20291c2..6530201 100644 --- a/goathacks/__init__.py +++ b/goathacks/__init__.py @@ -55,12 +55,12 @@ def create_app(): return send_from_directory('templates/home/sponsor', path) #Code of conduct - @app.route('/conduct/conduct.pdf') - def conduct(): - return url_for('conduct', filename='templates/home/conduct/conduct.pdf') - # @app.route('/conduct/') - #def conduct(path): - # return send_from_directory('templates/home/conduct', path) + @app.route('/conduct') + def conductindex(): + return render_template('home/conduct/index.html') + @app.route('/conduct/') + def conduct(path): + return send_from_directory('templates/home/conduct', path) # Homepage @app.route("/")