From e0cd65ae65ae98fae315142d8c4bdb7c84a15eff Mon Sep 17 00:00:00 2001 From: Patrick_Pluto Date: Mon, 16 Sep 2024 16:12:51 +0200 Subject: [PATCH 1/2] fixed the subsites --- py/web_flask.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/py/web_flask.py b/py/web_flask.py index cf200dc..2de25de 100644 --- a/py/web_flask.py +++ b/py/web_flask.py @@ -31,5 +31,15 @@ def index(): return render_template('index.html', messages=messages) +@APP.route('/faq') +def faq(): + return render_template('faq.html') + + +@APP.route('/contact') +def contact(): + return render_template('faq.html') + + if __name__ == '__main__': - APP.run(debug=True) \ No newline at end of file + APP.run(debug=True) From f7d23ef603c244cc2b72fdb52e7264c5d161e50f Mon Sep 17 00:00:00 2001 From: Patrick_Pluto Date: Mon, 16 Sep 2024 16:18:48 +0200 Subject: [PATCH 2/2] fixed the subsites fr fr --- py/web_flask.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/web_flask.py b/py/web_flask.py index 2de25de..1019b88 100644 --- a/py/web_flask.py +++ b/py/web_flask.py @@ -38,7 +38,7 @@ def faq(): @APP.route('/contact') def contact(): - return render_template('faq.html') + return render_template('contact.html') if __name__ == '__main__':