Update main.py

main
Anna Ļaško 2024-05-07 11:16:04 +00:00
parent 40a1bd3f75
commit f93f503f16
1 changed files with 4 additions and 1 deletions

View File

@ -11,7 +11,10 @@ def index(username = None):
@app.route('/contact')
def contact():
return "<h3>Book your first consultation:</h3> <p>Epasts: example@example.com</p>"
@app.route('/')
@app.route('/<mikrobiologija>')
def first_page():
return render_template("first_page.html")
@app.route('/login', methods=['GET', 'POST'])
def login():
if request.method == 'POST':